Home › forums › Using CanvasJS › Extra spaces in dateTime axis › Reply To: Extra spaces in dateTime axis
Axis minimum and maximum depends on the first data point value, last data point value and the interval. Hence, spacing to the left and right of chart will be calculated based on the axis minimum, maximum and interval.
The left x value given is that of 12 am, but the chart always starts from 11:30 no matter what the width of the chart is.
Axis X is a time scale and dataPoints are placed on the scale based on it’s values.
Priyanka M S