Home forums Feature Requests & Feedback Evaluating to buy, ? about supported graph

This topic contains 5 replies, has 3 voices, and was last updated by  nirmala 1 year, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8496

    nirmala
    Participant

    I am evaluating canvasjs for our mobile platform.
    Is it possible to represent the values listed below in a line graph/DateTime Series Graph

    Date Value
    2/1/2015 10:00:05 90
    2/1/2015 20:09:10 92
    2/1/2015 20:20:35 90
    2/3/2015 03:34:50 67

    x-axis buckets displayed will be 2/1/2015, 2/2/2015,2/3/2015

    Most of our charts are DateTime based of this format hence need to know if this is supported, so as to make a decision.

    Thanks
    Nirmala

    #8501

    Anjali
    Participant

    nirmala,

    Yes, With CanvasJS charts it is possible to create a chart with given values. Please refer this example.

    __
    Anjali

    #8504

    nirmala
    Participant

    Anjali,

    Thanks for your responses, I will try out these samples at my end, however on the x-axis I need Dates and not time Stamp which could just be a format change.

    #8506

    nirmala
    Participant

    Anjali,

    When I change the Dateformating to MM/DD the dates are repeating, can this be avoided.
    Here is the jsfiddle for what I am trying.

    Thanks
    Nirmala

    • This reply was modified 1 year, 8 months ago by  nirmala.
    #8515

    Sunil Urs
    Keymaster

    Niemala,

    Issue is because the automatically calculated interval is in hours and you have set valueFormatString to show MM/DD. So for every hour it is showing same month and date.

    Instead you also need to set interval and intervalType property as show in this jsfiddle.

    You should consider setting intervalType and interval whenever you set valueFormatString.


    Sunil Urs

    #8517

    nirmala
    Participant

    Hi Sunil,

    Thank you very much.

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

You must be logged in to reply to this topic.