Home forums Using CanvasJS Dynamically build a linear chart from JSON with date? Reply To: Dynamically build a linear chart from JSON with date?

#17578

Indranil Deo
Member

@iscrac,

The interval, axisLabel, and gridLine are dependent on dataPoints. Hence till the dataPoints are loaded the mentioned elements cannot be calculated.

However you can display text loader berfore rendering the chart. please take a look at this jsfiddle.

__________
Indranil Deo,
Team CanvasJS