Home forums Feature Requests & Feedback step Line Chart with time series

This topic contains 6 replies, has 4 voices, and was last updated by  Indranil Deo 1 year, 8 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #11434

    Dear Canvas Team,
    Is it possible to draw a chart with time series as shown in attached image.X-axis having the 12hr time format(with am/pm).I need straight strip line for each hour inside the chart.





    You can use valueFormatString to format date to show in 12Hours format. Check this example.


    Thanks for your response.


    Hi Team,
    1)Is there is any way to show the index label on bottom of the chart?.In my case, I need to show the location of the each activity.
    2)How can I show the X-axis label on top of the chart?
    Please refer sample image.

    Add Index label below the chart




    We have just released v1.9.5 Beta which supports Secondary X Axis and Multiple X / Y Axis. Please refer to the release blog for more information.


    Can you please tell me how we set these 4 labels(OffDuty,Sleeper,Driving,OnDuty) in Y axis and how to show totals at the end.

    • This reply was modified 1 year, 8 months ago by  sahiss.


    Please take a look at this jsfiddle.

    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.