You have found the two options, available in RadChart:
- Use the AutoScale feature - this way the Y axis range is automatically calculated, but it is possible that the marked zone is hidden i.e. outside the axis range
- Set the Y axis range manually by calling the AddRange(min, max, step)
method. Unfortunately, this might not be always possible as min and max might be unknown.
A possible workaround would be to wire the ItemDataBound
event of RadChart and keep track of the min and max value plotted (available through e.SeriesItem.YValue
). Then, depending on their values compared to the baselineValue
you can decide whether to keep the AutoScale feature (that would be if baselineValue
is between min and max) or set AutoScale
and manually define the axis range so that the marked zone is visible.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items