Class LineAreaBaseSeries<T>
A base class that contains methods used by both the line and area series.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public abstract class LineAreaBaseSeries<T> : DataPointSingleSeriesWithAxes, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider, IRequireGlobalSeriesIndex where T : DataPoint, new()
Type Parameters
Name | Description |
---|---|
T | The type of data point used by the series. |
Constructors
| Improve this Doc View SourceLineAreaBaseSeries()
Initializes a new instance of the LineAreaBaseSeries class.
Declaration
protected LineAreaBaseSeries()
Fields
| Improve this Doc View SourceDependentRangeAxisProperty
Identifies the DependentRangeAxis dependency property.
Declaration
public static readonly DependencyProperty DependentRangeAxisProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IndependentAxisProperty
Identifies the IndependentAxis dependency property.
Declaration
public static readonly DependencyProperty IndependentAxisProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceActualDependentRangeAxis
Gets the dependent axis as a range axis.
Declaration
public IRangeAxis ActualDependentRangeAxis { get; }
Property Value
Type | Description |
---|---|
IRangeAxis |
ActualIndependentAxis
Gets the independent axis as a range axis.
Declaration
public IAxis ActualIndependentAxis { get; }
Property Value
Type | Description |
---|---|
IAxis |
DependentRangeAxis
Gets or sets the dependent range axis.
Declaration
public IRangeAxis DependentRangeAxis { get; set; }
Property Value
Type | Description |
---|---|
IRangeAxis |
IndependentAxis
Gets or sets the independent range axis.
Declaration
public IAxis IndependentAxis { get; set; }
Property Value
Type | Description |
---|---|
IAxis |
Methods
| Improve this Doc View SourceCreateDataPoint()
Creates a new line data point.
Declaration
protected override DataPoint CreateDataPoint()
Returns
Type | Description |
---|---|
DataPoint | A line data point. |
Overrides
| Improve this Doc View SourceGetResourceDictionaryEnumeratorFromHost()
Returns the custom ResourceDictionary to use for necessary resources.
Declaration
protected override IEnumerator<ResourceDictionary> GetResourceDictionaryEnumeratorFromHost()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ResourceDictionary> | ResourceDictionary to use for necessary resources. |
Overrides
| Improve this Doc View SourceOnAfterUpdateDataPoints()
This method executes after all data points have been updated.
Declaration
protected override void OnAfterUpdateDataPoints()
Overrides
| Improve this Doc View SourceOnApplyTemplate()
Creates a DataPoint for determining the line color.
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnDataPointIndependentValueChanged(DataPoint, Object, Object)
Repositions line data point in the sorted collection if the actual independent axis is a range axis.
Declaration
protected override void OnDataPointIndependentValueChanged(DataPoint dataPoint, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point that has changed. |
System.Object | oldValue | The old value. |
System.Object | newValue | The new value. |
Overrides
| Improve this Doc View SourceOnDataPointsChanged(IList<DataPoint>, IList<DataPoint>)
Called after data points have been loaded from the items source.
Declaration
protected override void OnDataPointsChanged(IList<DataPoint> newDataPoints, IList<DataPoint> oldDataPoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<DataPoint> | newDataPoints | New active data points. |
System.Collections.Generic.IList<DataPoint> | oldDataPoints | Old inactive data points. |
Overrides
| Improve this Doc View SourceUpdateDataPoint(DataPoint)
Updates the visual representation of the data point.
Declaration
protected override void UpdateDataPoint(DataPoint dataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point to update. |
Overrides
| Improve this Doc View SourceUpdateShape()
Updates the Series shape object.
Declaration
protected virtual void UpdateShape()
UpdateShapeFromPoints(IEnumerable<Point>)
Updates the Series shape object from a collection of Points.
Declaration
protected abstract void UpdateShapeFromPoints(IEnumerable<Point> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Point> | points | Collection of Points. |