Class Series
Represents a control that contains a data series.
Inheritance
System.Object
Series
Inherited Members
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public abstract class Series : Control, ISeries, IRequireSeriesHost
Constructors
| Improve this Doc View SourceSeries()
Initializes a new instance of the Series class.
Declaration
protected Series()
Fields
| Improve this Doc View SourceTitleName
The name of the Title property.
Declaration
protected const string TitleName = "Title"
Field Value
Type | Description |
---|---|
System.String |
TitleProperty
Identifies the Title dependency property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceLegendItems
Gets the legend items to be added to the legend.
Declaration
public ObservableCollection<object> LegendItems { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<System.Object> |
SeriesHost
Gets or sets the parent instance the Series belongs to.
Declaration
public ISeriesHost SeriesHost { get; set; }
Property Value
Type | Description |
---|---|
ISeriesHost |
Title
Gets or sets the title content of the Series.
Declaration
public object Title { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceOnSeriesHostPropertyChanged(ISeriesHost, ISeriesHost)
Called when the value of the SeriesHost property changes.
Declaration
protected virtual void OnSeriesHostPropertyChanged(ISeriesHost oldValue, ISeriesHost newValue)
Parameters
Type | Name | Description |
---|---|---|
ISeriesHost | oldValue | The value to be replaced. |
ISeriesHost | newValue | The new series host value. |
OnTitleChanged(Object, Object)
Called when the Title property changes.
Declaration
protected virtual void OnTitleChanged(object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldValue | The old value of the Title property. |
System.Object | newValue | The new value of the Title property. |