Home Forums Feature Requests & Feedback Discrete line graph

Discrete line graph

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15827

    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.

    Sanjoy Debnath
    Team CanvasJS


    Thanks Sanjoy Debnath for your response.

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

You must be logged in to reply to this topic.