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


Priyanka M S


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