Home › forums › Feature Requests & Feedback › Discrete line graph
This topic contains 2 replies, has 2 voices, and was last updated by Zuhain 1 year, 1 month ago.
I am trying to create a discrete line graph using dates. I have some data for different dates which are not continuous(2nd july,7th july,15th july etc). When i plot the graph, i am getting the dates in between the plotted dates. i want only the dates for which i have data to appear in the x axis of my graph. Is there a way to do this. I am attaching the jsfiddle for the same(http://jsfiddle.net/1yawLns4/).
You can use label instead of x along with CanvasJS.formatDate method, in your case. Please take a look at this updated jfiddle.
Thanks Sanjoy Debnath for your response.
You must be logged in to reply to this topic.