Dundas Chart for ASP.NET
LabelStyle Custom Attribute
See Also Send comments on this topic.
Custom Attributes > LabelStyle Custom Attribute



Glossary Item Box

Gets or sets the data point label position.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
   ...

' Set the LabelStyle to for both the series and a point.
Chart1.Series(0)("LabelStyle") = "Right"
Chart1.Series(0).Points(3)("LabelStyle") = "Top"
C# Copy Code
using Dundas.Charting.WebControl;
  ...

// Set the LabelStyle to for both the series and a point.
Chart1.Series[0]["LabelStyle"] = "Right";
Chart1.Series[0].Points[3]["LabelStyle"] = "Top";

Remarks

This custom attribute applies to Point, Column, Bubble, Line, Spline, StepLine, Area, SplineArea, Range, SplineRange, Radar and Polar  chart types. 

Custom Attribute Summary
Possible Values: Auto  - DataPoint labels are positioned automatically.
Top - DataPoint labels are positioned above the point.
Bottom - DataPoint labels are positioned below the point.
Right - DataPoint labels are positioned to the right of the point.
Left - DataPoint labels are positioned to the left of the point.
TopLeft - DataPoint labels are positioned to the top left of the point.
TopRight - DataPoint labels are positioned to the top right of the point.
BottomLeft - DataPoint labels are positioned to the bottom left of the point.
BottomRight - DataPoint labels are positioned to the bottom right of the point.
Center - DataPoint labels are positioned centered on the point.
Default Value: Auto 
2D / 3D Limitations: No
Applies to Chart Element: Series and DataPoint Objects
Applies to Chart Types: Point, Column, Bubble, Line, Spline, StepLine, Area, SplineArea, Range, SplineRange, Radar, Polar

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.