In SfChart, the minimum and maximum ranges of an axis are calculated automatically based on the provided data. You can also set its range explicitly using the Minimum and Maximum properties of the respective axis.
There might be situation in which you need to have the control over the auto-calculated range. At this situation, you can subscribe the ActualRangechanged event of the respective axis and modify the auto-calculated minimum and maximum values that you got in the event arguments. This event will be fired whenever the actual range of the corresponding axis changes.
In the following code example, the maximum visible range is always kept to 80 whenever the overall range of the axis exceeds 80,
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|