Home › forums › Using CanvasJS › data missing on graph
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 6 months, 3 weeks ago.
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.
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
You must be logged in to reply to this topic.