ClassPieSeries
Represents a chart series that visualize data points using arcs that form a pie.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class PieSeries : ChartSeries, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesPieSeries
Derived Classes:
Implements:
Inherited Members
Constructors
PieSeries()
Initializes a new instance of the PieSeries class.
Declaration
public PieSeries()
Fields
DefaultSliceStyleProperty
Identifies the DefaultSliceStyle property.
Declaration
public static readonly DependencyProperty DefaultSliceStyleProperty
Field Value
DependencyProperty
LegendSettingsProperty
Identifies the LegendSettings property.
Declaration
public static readonly DependencyProperty LegendSettingsProperty
Field Value
DependencyProperty
RadiusFactorProperty
Identifies the RadiusFactor property.
Declaration
public static readonly DependencyProperty RadiusFactorProperty
Field Value
DependencyProperty
SelectedPointOffsetProperty
Identifies the SelectedPointOffset property.
Declaration
public static readonly DependencyProperty SelectedPointOffsetProperty
Field Value
DependencyProperty
SliceStyleSelectorProperty
Identifies the StyleSelector property.
Declaration
public static readonly DependencyProperty SliceStyleSelectorProperty
Field Value
DependencyProperty
ValueBindingProperty
Identifies the ValueBinding property.
Declaration
public static readonly DependencyProperty ValueBindingProperty
Field Value
DependencyProperty
Properties
AngleRange
Gets or sets the angle range that define the pie.
DataPoints
Gets the collection of data points associated with the series.
Declaration
public ElementCollection<PieDataPoint> DataPoints { get; }
Property Value
DefaultSliceStyle
Gets or sets the Style instance that defines the default appearance of each Path presenting a pie slice.
Declaration
public Style DefaultSliceStyle { get; set; }
Property Value
Style
LabelFormat
Gets or sets the string used to format the default label (that is the Percent value) of each data point. Defaults to 'p0'.
LegendSettings
Gets or sets the legend settings.
Declaration
public DataPointLegendSettings LegendSettings { get; set; }
Property Value
RadiusFactor
Gets or sets the radius factor used to calculate the radius of the visual series.
Declaration
public double RadiusFactor { get; set; }
Property Value
The default value is 1.
Remarks
This value is usually within the (0,1) range but it is possible to oversize the series by setting a value greater than 1.
SelectedPointOffset
Gets or sets the offset applied to a PieDataPoint which is currently selected. This value is applied only if the point's OffsetFromCenter property is 0.
SliceStyleSelector
Gets or sets the StyleSelector instance used to select the appropriate style for a PieDataPoint.
Declaration
public StyleSelector SliceStyleSelector { get; set; }
Property Value
StyleSelector
SliceStyles
Gets the collection storing a Style instance for each segment present on the chart.
Declaration
public ObservableCollection<Style> SliceStyles { get; }
Property Value
ObservableCollection<Style>
ValueBinding
Gets or sets the binding that will be used to fill the Value member of the contained data points.
Declaration
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ValueBinding { get; set; }
Property Value
Methods
GetLabelConnector(ChartSeriesLabelPositionInfo)
Gets the points which build the label connector polyline.
Declaration
protected override List<Point> GetLabelConnector(ChartSeriesLabelPositionInfo info)
Parameters
info
Returns
List<Point>
Overrides
GetValueAggregateFunction()
When overridden in a derived class, this method returns the function used to calculate the aggregate values for the Value property.
Declaration
protected virtual ChartAggregateFunction GetValueAggregateFunction()
Returns
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
Overrides
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnLoaded(object, RoutedEventArgs)
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
Declaration
protected override void OnLoaded(object sender, RoutedEventArgs e)
Parameters
sender
e
RoutedEventArgs
Overrides
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs that contains the event data.
OnMouseMove(MouseEventArgs)
Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs that contains the event data.
OnPlayPointAnimations(bool)
Fired when Point animations are about to be played.
Declaration
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)
Parameters
hidePointsOnLoad
When true, the animated element is collapsed until the start of the animation.
Overrides