Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Don’t see any data on graphic (MVC) #28694

    I want to have give a date and hours and minutes to the graphic. Example. 18/03/2020 18:07

    ———
    DataPoint Class:

    public DataPoint(string label, decimal y)
    {
    this.label = label;
    this.y = y;
    }

    //Explicitly setting the name to be used while serializing to JSON.
    [DataMember(Name = “label”)]
    public string label = “”;

    //[DataMember(Name = “x”)]
    //public Nullable<double> x = null;

    //Explicitly setting the name to be used while serializing to JSON.
    [DataMember(Name = “y”)]
    public Nullable<decimal> y = null;

    ——-

    Is that correct with the label I found it somewhere on the Internet but It doesn’t Work. Maybe you can help me. The thing you said works so thank you for helping me already.

    I want that my x-axis is a string and not a double. Thanks in advance

    in reply to: Don’t see any data on graphic (MVC) #28683

    https://drive.google.com/open?id=19-ysWDSGRXwmdZv7IHf_ynS5on1nchhJ
    This is a sample. It’s with the Css that I use in my project also. Maybe their is a problem with CSS
    Sample Data is the Data that genarates in the HomeController JSON()

Viewing 2 posts - 1 through 2 (of 2 total)