Hi Alison Tan,
Query:
Is there a way to detect such additional space without manually setting the
MinMaxInfo?
We
we would like to inform you that, by default the axis RangePaddingType is
set as Calculate and the nice range interval calculated based on the
series data points will be added to the minimum and maximum of the axis range.
You can remove the extra range in axis by setting the
axis RangePaddingType value as None as per in the below
code example.
this.chartControl1.PrimaryXAxis.ValueType
= ChartValueType.Double;
this.chartControl1.PrimaryXAxis.RangePaddingType = ChartAxisRangePaddingType.None;
|
Please refer the below link for
more details.
https://help.syncfusion.com/windowsforms/chart/chart-axes#rangepaddingtypes
https://help.syncfusion.com/windowsforms/chart/chart-axes#axis-range-and-intervals
Please
check and let us know if you need any further assistance.
Regards,
Moneeshram
D