You must be logged in to post your query.
Home › Forums › Feature Requests & Feedback › Discrete line graph
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. Login/Register