Home forums Feature Requests & Feedback Discrete line graph

This topic contains 2 replies, has 2 voices, and was last updated by  Zuhain 3 months ago.

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

    Zuhain
    Member

    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/).

    #15835

    Sanjoy
    Moderator

    @kane2070,

    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

    #15878

    Zuhain
    Member

    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.