Class Pie
This class represents a 2D pie series item.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class Pie : BaseChartItem2D, IChartItem, ILogicalItem, IAnimatable, IInteractiveElement
Constructors
Pie()
Declaration
public Pie()
Fields
FigurePath2Property
Identifies the FigurePath2 dependency property.
Declaration
public static readonly DependencyProperty FigurePath2Property
Field Value
System.Windows.DependencyProperty
|
FigurePath3Property
Identifies the FigurePath3 dependency property.
Declaration
public static readonly DependencyProperty FigurePath3Property
Field Value
System.Windows.DependencyProperty
|
FigurePathProperty
Identifies the FigurePath dependency property.
Declaration
public static readonly DependencyProperty FigurePathProperty
Field Value
System.Windows.DependencyProperty
|
MaskVisibilityProperty
Identifies the MaskVisibility dependency property.
Declaration
public static readonly DependencyProperty MaskVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
Properties
FigurePath
Gets or sets the figure path.
Declaration
public Geometry FigurePath { get; set; }
Property Value
System.Windows.Media.Geometry
The figure path. |
FigurePath2
Gets or sets the figure path. Needed since Silverlight does not allow multiple usages of a single Geometry.
Declaration
public Geometry FigurePath2 { get; set; }
Property Value
System.Windows.Media.Geometry
The property. |
FigurePath3
Gets or sets the figure path. Needed since Silverlight does not allow multiple usages of a single Geometry.
Declaration
public Geometry FigurePath3 { get; set; }
Property Value
System.Windows.Media.Geometry
The property. |
GeometryGenerators
Geometry Generators.
Declaration
protected Collection<Pie.SegmentGenerator> GeometryGenerators { get; }
Property Value
System.Collections.ObjectModel.Collection<Pie.SegmentGenerator>
|
MaskVisibility
Gets or sets a value indicating whether the built-in mask overlay should be visible or not.
Declaration
public Visibility MaskVisibility { get; set; }
Property Value
System.Windows.Visibility
The default value is Visible. |
Remarks
This property is applicable only to a limited set of the supported themes (i.e. Office, Vista, Windows7). Also disabling the mask overlay will disable the item selection indicator as well.
StartAngle
Gets the start angle of the item.
Declaration
public double StartAngle { get; }
Property Value
System.Double
The start angle. |
SweepAngle
Gets the sweep angle of the item.
Declaration
public double SweepAngle { get; }
Property Value
System.Double
The sweep angle. |
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a System.Windows.Controls.Control object.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The computed size that is used to arrange the content. |
Returns
System.Windows.Size
The size of the control. |
Overrides
ConfigureInitialTransformState()
Configures the initial state of the transform.
Declaration
protected override void ConfigureInitialTransformState()
Overrides
CreateGeometryGenerators()
Creates the Geometry Generators.
Declaration
protected virtual Collection<Pie.SegmentGenerator> CreateGeometryGenerators()
Returns
System.Collections.ObjectModel.Collection<Pie.SegmentGenerator>
|
EvaluateInnerRadiusRatio()
Evaluates the inner radius ratio.
Declaration
protected virtual double EvaluateInnerRadiusRatio()
Returns
System.Double
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnDataSeriesDefinitionChanged(Object, PropertyChangedEventArgs)
Called when DataSeries Definition is changed.
Declaration
protected override void OnDataSeriesDefinitionChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |