Display labels in the bar chart vertically

Applies to: Nevron Chart for .NET

How to display labels in the bar chart vertically?

To display the labels in any chart type in some orientation different than default you just have to set the DataLabelStyle property to the desired angle. For example:

[C#]
NBarSeries bar = (NBarSeries)chart.Series.Add(SeriesType.Bar);
  
//Specifing a 90 degrece angle of the text.
bar.DataLabelStyle.TextStyle.Orientation = 90;

[VB.NET]
Dim bar As NBarSeries = DirectCast(chart.Series.Add(SeriesType.Bar), NBarSeries)
  
'Specifing a 90 degrece angle of the text.
bar.DataLabelStyle.TextStyle.Orientation = 90

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