Home forums Using CanvasJS Extra spaces in dateTime axis Reply To: Extra spaces in dateTime axis

#21398

Priyanka M S
Member

himanshu,

If interval is not set, it gets automatically calculated based on the values of dataPoints. The spacing is different because the dataPoint x-values in both the examples(your fiddle and CanvasJS website) are different. The minimum, maximum and interval is calculated based on the dataPoints you provide and spacing is calculated accordingly.

__
Priyanka M S
Team CanvasJS