Change the size of the ticks along the X-axis in Nevron Chart

Applies to: Nevron Chart for .NET

How to change the size of the ticks along the X-axis in Nevron Chart?

You can change the physical size of the tick marks along the x-axis of a bar, line, area or other chart. To do that you need to set the length of the inner or outer or both inner and outer ticks, as it is shows in the code snipped bellow:

NOrdinalScaleConfigurator ordinalScale = (NOrdinalScaleConfigurator)nChartControl1.Charts[0].Axis(StandardAxis.PrimaryX).ScaleConfigurator;
ordinalScale.InnerMajorTickStyle.Length = new NLength(4);
ordinalScale.OuterMajorTickStyle.Length = new NLength(5);

Dim ordinalScale As NOrdinalScaleConfigurator = DirectCast(nChartControl1.Charts(0).Axis(StandardAxis.PrimaryX).ScaleConfigurator, NOrdinalScaleConfigurator)
ordinalScale.InnerMajorTickStyle.Length = New NLength(4)
ordinalScale.OuterMajorTickStyle.Length = New NLength(5)

You can also play around with other scale configurator properties.

For more details, take a look at the Online Documentation
Chart for .NET > User's Guide > Axes > Scale > Scale Configurators

Article ID: 52, Created On: 10/6/2010, Modified: 12/29/2010