Class AccumulationSeriesBase
Represents a base class for all the triangular and circular series. This class has options to customize the appearance of triangular and circular series.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class AccumulationSeriesBase : AdornmentSeries, ICloneable
Constructors
AccumulationSeriesBase()
Called when instance created for AccumulationSeriesBase
Declaration
public AccumulationSeriesBase()
Fields
ExplodeAllProperty
The DependencyProperty for ExplodeAll property.
Declaration
public static readonly DependencyProperty ExplodeAllProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ExplodeIndexProperty
The DependencyProperty for ExplodeIndex property.
Declaration
public static readonly DependencyProperty ExplodeIndexProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ExplodeOnMouseClickProperty
The DependencyProperty for ExplodeOnMouseClick property.
Declaration
public static readonly DependencyProperty ExplodeOnMouseClickProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SegmentSelectionBrushProperty
The DependencyProperty for SegmentSelectionBrush property.
Declaration
public static readonly DependencyProperty SegmentSelectionBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SelectedIndexProperty
The DependencyProperty for SelectedIndex property.
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
YBindingPathProperty
The DependencyProperty for YBindingPath property.
Declaration
public static readonly DependencyProperty YBindingPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
ExplodeAll
Gets or sets a value indicating whether to explode all the pie slices (segments).
Declaration
public bool ExplodeAll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ExplodeIndex
Gets or sets the index of data point (or segment) of chart series to be exploded.
Declaration
public int ExplodeIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ExplodeOnMouseClick
Gets or sets a value indicating whether segment slices will explode on click or tap.
Declaration
public bool ExplodeOnMouseClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | if |
SegmentSelectionBrush
Gets or sets the interior (brush) for the selected segment(s).
Declaration
public Brush SegmentSelectionBrush { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.Media.Brush value. |
SelectedIndex
Gets or sets the index of the selected segment.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
|
SelectedSegment
Returns the corresponding series selected segment.
Declaration
protected override ChartSegment SelectedSegment { get; }
Property Value
Type |
---|
ChartSegment |
Overrides
SelectedSegments
Gets the selected segments in this series, when we enable the multiple selection.
Declaration
protected override List<ChartSegment> SelectedSegments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartSegment> | It returns list of ChartSegment. |
Overrides
YBindingPath
Gets or sets the property name that associates the secondary axis with a property in the itemssource.
Declaration
public string YBindingPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for secondary axis. The default value is null. |
Examples
<chart:SfChart>
<chart:SfChart.DataContext>
<local:ViewModel/>
</chart:SfChart.DataContext>
<chart:PieSeries
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfChart>
YValues
Gets or sets the Y values collection binded with this series.
Declaration
protected IList<double> YValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
Methods
CloneSeries(DependencyObject)
Returns the instance of AccumulationSeriesBase series.
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | obj | object |
Returns
Type |
---|
Windows.UI.Xaml.DependencyObject |
Overrides
GeneratePoints()
Method used to generate points for accumulation series.
Declaration
protected override void GeneratePoints()
Overrides
OnBindingPathChanged(DependencyPropertyChangedEventArgs)
Called when binding path changed.
Declaration
protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args | args |
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Called when ItemsSource property changed.
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | old value |
System.Collections.IEnumerable | newValue | new value |
Overrides
OnSeriesMouseDown(Object, Point)
Called when the chart mouse down.
Declaration
protected override void OnSeriesMouseDown(object source, Point position)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | source |
Windows.Foundation.Point | position | position |
Overrides
OnSeriesMouseUp(Object, Point)
Called when the chart mouse up.
Declaration
protected override void OnSeriesMouseUp(object source, Point position)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | source |
Windows.Foundation.Point | position | position |
Overrides
SelectedIndexChanged(Int32, Int32)
Method used to set SegmentSelectionBrush to selectedindex chartsegment.
Declaration
protected override void SelectedIndexChanged(int newIndex, int oldIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | newIndex | new index |
System.Int32 | oldIndex | old index |
Overrides
SetExplodeAll()
Virtual method for ExplodeAll.
Declaration
protected virtual void SetExplodeAll()
SetExplodeIndex(Int32)
Method implementation for ExplodeIndex.
Declaration
protected virtual void SetExplodeIndex(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i |
SetExplodeRadius()
Virtual Method for ExplodeRadius.
Declaration
protected virtual void SetExplodeRadius()