Class ChartSeriesPresenter
Represents ChartSeriesPresenter
Inheritance
Implements
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartSeriesPresenter : FrameworkElement, IDisposable
Remarks
Class instance is created automatically by WPF Chart building system.
Constructors
ChartSeriesPresenter()
Initializes a new instance of the ChartSeriesPresenter class.
Declaration
public ChartSeriesPresenter()
Fields
ObjectProperty
Using a DependencyProperty as the backing store for Object. This enables animation, styling, binding, etc...
Declaration
protected static readonly DependencyProperty ObjectProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SeriesProperty
Using a DependencyProperty as the backing store for Series. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SeriesProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
XAxisProperty
Using a DependencyProperty as the backing store for XAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty XAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
YAxisProperty
Using a DependencyProperty as the backing store for YAxis. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty YAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Series
Gets or sets the series.
Declaration
public ChartSeries Series { get; set; }
Property Value
Type | Description |
---|---|
ChartSeries | The series. |
TotalSize
Gets the Total size of Chart series render.
Declaration
public Size TotalSize { get; }
Property Value
Type |
---|
System.Windows.Size |
VisualChildrenCount
Gets or sets the VisualChildrenCount
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type |
---|
System.Int32 |
XAxis
Gets or sets the X axis.
Declaration
public ChartAxis XAxis { get; set; }
Property Value
Type | Description |
---|---|
ChartAxis | The X axis. |
YAxis
Gets or sets the Y axis.
Declaration
public ChartAxis YAxis { get; set; }
Property Value
Type | Description |
---|---|
ChartAxis | The Y axis. |
Methods
ArrangeOverride(Size)
Arranges the content of a System.Windows.Controls.Canvas element.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
System.Windows.Size | A System.Windows.Size that represents the arranged size of this System.Windows.Controls.Canvas element and its descendants. |
Dispose()
Declaration
public void Dispose()
GetVisualChild(Int32)
Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the requested child element in the collection. |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | The requested child element. This should not return null; if the provided index is out of range, an exception is raised. |
MeasureOverride(Size)
Measures the child elements of a System.Windows.Controls.Canvas in anticipation of arranging them during the System.Windows.Controls.Canvas.ArrangeOverride(System.Windows.Size) pass.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | A System.Windows.Size that represents the size that is required to arrange child content. |
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Invoked whenever the effective value of any dependency property on this System.Windows.FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The event data that describes the property that changed, as well as old and new values. |