Home › forums › Using CanvasJS › Problem in plotting line graph
Tagged: line chart
This topic contains 6 replies, has 4 voices, and was last updated by Suyash Singh 1 year, 3 months ago.
Hi. In line graph, x-Axis data is Time and Y-Axis data is Student Names. I want to draw a line chart based on which student is present on that time.
1. 11.10AM -> Michael
2. 11.15AM -> John
3. 11.30AM -> Julie
Please help me how to draw a line chart with this data.
Are you looking for something like this.
Thank you Suyash. But i need name on y-Axis and time on x-Axis
And i also want to hide the x-Axis labels.
Thank you so much Sanjoy!!!. You created what actually i expected. Thanks again.
How can I convert String like “2014,10,21,18,48,05” to datapoints?
x value can be a dateTime value, but it needs to be in a valid Date-Time format. Please have a look on documentation page on working with data and Date & Time Axis.
You must be logged in to reply to this topic.