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

#21367

Priyanka M S
Member

Himanshu,

In the fiddle you have provided, the spacing on left and right of chart is because of the x values you provide to axisX. By setting appropriate minimum and maximum values, you can reduce the spacing. Please take a look at this updated jsfiddle.

__
Priyanka M S
Team CanvasJS