PiePointElement
Renders a pie segment and manages its legend entry, palette colors, and label element.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class PiePointElement : DataPointElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementDataPointElementPiePointElement...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the PiePointElement class.
Fields
Identifies whether this pie segment is included in the chart legend.
public static RadProperty IsVisibleInLegendProperty
Identifies the property that controls how far a segment is offset from the pie center.
public static RadProperty OffsetFromCenterProperty
Identifies the property that scales a segment's rendered diameter relative to the pie's diameter.
public static RadProperty RadiusAspectRatioProperty
Properties
Gets or sets whether this pie segment is included in the chart legend.
public bool IsVisibleInLegend { get; set; }
Gets or sets the title that will be used by chart legend.
public string LegendTitle { get; set; }
Gets or sets the offset from center.
public double OffsetFromCenter { get; set; }
The offset from center.
Gets or sets the radius aspect ratio.
public float RadiusAspectRatio { get; set; }
The radius aspect ratio.
Methods
Creates the label element.
protected override LabelElement CreateLabelElement(DataPointElement point)
The point.
Returns:Overrides:
Gets the default state of the visual.
protected override string GetDefaultVisualState(ChartSeries series, int index)
The series.
indexintThe index.
Returns:Overrides:
Gets the style index.
Called when [attached].
protected override void OnAttached(UIChartElement parent)
The parent.
Overrides:
Called when [dettached].
protected override void OnDettached()
Overrides:
Updates this segment's legend entry when its legend-visibility property changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property-change details.
Overrides: