Home › forums › Using CanvasJS › Space between first datapoint and Y axis › Reply To: Space between first datapoint and Y axis
The spacing on the left and right of the chart is based on the axis minimum and maximum values.
Axis minimum and maximum depends on the first data point value, the last data point value and the interval. Hence, spacing to the left and right of the chart will be calculated based on the axis minimum, maximum and interval.
However, by setting appropriate minimum and maximum values, you can reduce the spacing.
Priyanka M S