Dundas Chart for ASP.NET
ColumnLabelStyle CustomAttribute
Send comments on this topic.

Glossary Item Box

Gets or sets the orientation of all data point labels within the data series that it is applied to.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
   ...
' Set the ColumnLabelStyle for each of the two data series 
' in a chart. The first series is set to a horizontal 
' orientation, and the second is set to a vertical orientation.
Chart1.Series(0)("ColumnLabelStyle") = "Horizontal"
Chart1.Series(1)("ColumnLabelStyle") = "Vertical"
C# Copy Code
using Dundas.Charting.WebControl;
  ...
// Set the ColumnLabelStyle for each of the two data series 
// in a chart. The first series is set to a horizontal 
// orientation, and the second is set to a vertical orientation.
Chart1.Series[0]["ColumnLabelStyle"] = "Horizontal";
Chart1.Series[1]["ColumnLabelStyle"] = "Vertical";

Remarks

This custom attribute defines the orientation of data point labels within the series that it is applied to. Figure 1 below illustrates the effect of setting this attribute to a value of Horizontal, and Figure 2 displays the result of setting this attribute to a value of Vertical.

 

Figure 1: A Column chart with its ColumnLabelStyle set to a value of Horizontal.

 

Figure 2: A Column chart with its ColumnLabelStyle set to a value of Vertical.

 

Custom Attribute Summary
Possible Values:

Horizontal - Data point labels are positioned horizontally at the top of the column.

Vertical - Data point labels are positioned vertically within the column.

Default Value: Horizontal
2D / 3D Limitations: 2D only
Applies to Chart Element: Series Objects
Applies to Chart Types: Column
Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.