Modify the space between two sets of bars

Applies to: Nevron Chart for .NET

How to modify the space between two sets of bars?

To modify the gap between bars use WidthPercent property:

[C#]
NBarSeries bar = (NBarSeries)nChartControl1.Charts[0].Series.Add(SeriesType.Bar);
bar.WidthPercent = ...;

[VB.NET]
Dim bar As NBarSeries = DirectCast(nChartControl1.Charts(0).Series.Add(SeriesType.Bar), NBarSeries)
bar.WidthPercent = ...

Also to modify the gap between the cluster series use GapPercent property:

[C#]
NBarSeries bar = (NBarSeries)nChartControl1.Charts[0].Series.Add(SeriesType.Bar);
bar.GapPercent = ...;

[VB.NET]
Dim bar As NBarSeries = DirectCast(nChartControl1.Charts(0).Series.Add(SeriesType.Bar), NBarSeries)
bar.GapPercent = ...

  

Article ID: 59, Created On: 10/6/2010, Modified: 12/1/2010