Hi all,
exist a way to get the min and max values of a series. I need this, to change the axis values interval. For my purpose the automatic range computation doesn't works. For example if my series has a max value of 16, the max value of the axis must be 20. If my series has a max value of 150, the max value of the axis should be 200.
Regards
Here is how to set min/max values:
ultraChart1.Axis.Y.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom;ultraChart1.Axis.Y.RangeMin = 1;ultraChart1.Axis.Y.RangeMax = 20;
Hi Sam,
thx for your fast reponse.
I know how I can set custom ranges, that what I don't know is how to get the max and min values of my series, without iterating to the whole series. Exists a way to get this informations?
Using the fillScene event I can get the IAdvanceAxis object, and I get the maximum and minimum values of the axis, but in this event, it seems, that I can't use following code to change the axis
I believe you can used the RangeMin/Max in FillSceneGraph even. I tested it.
Thx Sam it works now