Home forums Using CanvasJS data missing on graph

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 3 weeks, 3 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23200

    prasad
    Member

    I am using line chart . if data is missing between two time , it will be show blank graph that time but it show connected,so is it any solution ?
    I have sequential time format at every 15 minutes(sequential time format depend on user , means it will be vary), but some problem i loss my 5 hours data, so i want to show blank graph not connected graph.

    #23215

    Priyanka M S
    Member

    @prasad,

    You can loop through the dataPoints for every interval to check if there is a dataPoint at that particular value or not. If there is no dataPoint available, then you can add a null dataPoint. Please take a look at this JSFiddle.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.