Specify a range of values that appear on the axis

Applies to: Nevron Chart for .NET

How to specify a range of values that appear on the axis?

In order to specify a range of values on the particular axis you have to assign a different axis view on it. In this case you have to assign an NRangeAxisView with specified range and whether to substitute this range to the begin or the end of the axis.

[C#]
chart.Axis(StandardAxis.PrimaryY).View = new NRangeAxisView(new NRange1DD(0, 5), true, true);

[VB.NET]
chart.Axis(StandardAxis.PrimaryY).View = New NRangeAxisView(New NRange1DD(0, 5), True, True)

Article ID: 74, Created On: 10/6/2010, Modified: 11/15/2010