Dundas Chart for Windows Forms
PyramidInsideLabelAlignment Custom Attribute
See Also Send comments on this topic.
Custom Attributes > PyramidInsideLabelAlignment Custom Attribute



Glossary Item Box

Gets or sets the Pyramid chart data point label placement when the PyramidLabelStyle is set to Inside.

Visual Basic Copy Code
Imports Dundas.Charting.WinControl
  ...

' Set the Series PyramidInsideLabelAlignment to Center and Point 4 Top.
Chart1.Series(0)("PyramidLabelStyle") = "Inside"
Chart1.Series(0)("PyramidInsideLabelAlignment") = "Center"
Chart1.Series(0).Points(3)("PyramidInsideLabelAlignment") = "Top"

C# Copy Code
using Dundas.Charting.WinControl;
   ...

// Set the Series PyramidInsideLabelAlignment to Center and Point 4 Top.
Chart1.Series[0]["PyramidLabelStyle"] = "Inside";
Chart1.Series[0]["PyramidInsideLabelAlignment"] = "Center"
Chart1.Series[0].Points[3]["PyramidInsideLabelAlignment"] = "Top";

Remarks

Gets or sets the Pyramid chart data point label placement when the PyramidLabelStyle is set to Inside

Custom Attribute Summary
Possible Values: Center - DataPoint labels are aligned to the center of the Pyramid segment.
Top - DataPoint labels are aligned to the top of the Pyramid segment.
Bottom - DataPoint labels are aligned to the bottom of the Pyramid segment.
Default Value: Center 
2D / 3D Limitations: No
Applies to Chart Element: Series and DataPoint Objects
Applies to Chart Types: Pyramid

 

Figure 1: PyramidInsideLabelAlignment set to Center shown left, and set to Top shown right.

See Also

Custom Attributes
Custom Attributes Overview

Chart Types
Pyramid Chart

©2009. All Rights Reserved.