Class StackedAreaLineSeries
Control base class for displaying values as a stacked area/line chart visualization.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public abstract class StackedAreaLineSeries : DefinitionSeries, ISeries, IAxisListener, IRangeProvider, IValueMarginProvider, IDataProvider, ISeriesHost, IRequireSeriesHost, IResourceDictionaryDispenser
Constructors
| Improve this Doc View SourceStackedAreaLineSeries()
Initializes a new instance of the StackedAreaLineSeries class.
Declaration
protected StackedAreaLineSeries()
Properties
| Improve this Doc View SourceSeriesDefinitionShapes
Gets the Shapes corresponding to each SeriesDefinition.
Declaration
protected Dictionary<SeriesDefinition, Shape> SeriesDefinitionShapes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<SeriesDefinition, Shape> |
Methods
| Improve this Doc View SourceAcquireDependentAxis()
Acquires a dependent axis suitable for use with the data values of the series.
Declaration
protected override IAxis AcquireDependentAxis()
Returns
Type | Description |
---|---|
IAxis | Axis instance. |
Overrides
| Improve this Doc View SourceAcquireIndependentAxis()
Acquires an independent axis suitable for use with the data values of the series.
Declaration
protected override IAxis AcquireIndependentAxis()
Returns
Type | Description |
---|---|
IAxis | Axis instance. |
Overrides
| Improve this Doc View SourceCreateDataShape()
Creates a series-appropriate Shape for connecting the points of the series.
Declaration
protected abstract Shape CreateDataShape()
Returns
Type | Description |
---|---|
Shape | Shape instance. |
IRangeProviderGetRange(IRangeConsumer)
Returns the range for the data points of the series.
Declaration
protected override Range<IComparable> IRangeProviderGetRange(IRangeConsumer rangeConsumer)
Parameters
Type | Name | Description |
---|---|---|
IRangeConsumer | rangeConsumer | Consumer of the range. |
Returns
Type | Description |
---|---|
Range<System.IComparable> | Range of values. |
Overrides
| Improve this Doc View SourceIValueMarginProviderGetValueMargins(IValueMarginConsumer)
Returns the value margins for the data points of the series.
Declaration
protected override IEnumerable<ValueMargin> IValueMarginProviderGetValueMargins(IValueMarginConsumer valueMarginConsumer)
Parameters
Type | Name | Description |
---|---|---|
IValueMarginConsumer | valueMarginConsumer | Consumer of the value margins. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValueMargin> | Sequence of value margins. |
Overrides
| Improve this Doc View SourceOnApplyTemplate()
Builds the visual tree for the control when a new template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourcePrepareDataPoint(DataPoint)
Prepares a DataPoint for use.
Declaration
protected override void PrepareDataPoint(DataPoint dataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | DataPoint instance. |
Overrides
| Improve this Doc View SourceSeriesDefinitionsCollectionChanged(NotifyCollectionChangedAction, IList, Int32, IList, Int32)
Called when the SeriesDefinitions collection changes.
Declaration
protected override void SeriesDefinitionsCollectionChanged(NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex)
Parameters
Type | Name | Description |
---|---|---|
NotifyCollectionChangedAction | action | Type of change. |
System.Collections.IList | oldItems | Sequence of old items. |
System.Int32 | oldStartingIndex | Starting index of old items. |
System.Collections.IList | newItems | Sequence of new items. |
System.Int32 | newStartingIndex | Starting index of new items. |
Overrides
| Improve this Doc View SourceUpdateDataItemPlacement(IEnumerable<DefinitionSeries.DataItem>)
Updates the placement of the DataItems (data points) of the series.
Declaration
protected override void UpdateDataItemPlacement(IEnumerable<DefinitionSeries.DataItem> dataItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DefinitionSeries.DataItem> | dataItems | DataItems in need of an update. |
Overrides
| Improve this Doc View SourceUpdateShape(IList<IEnumerable<Point>>)
Updates the Shape for the series.
Declaration
protected abstract void UpdateShape(IList<IEnumerable<Point>> definitionPoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Collections.Generic.IEnumerable<Point>> | definitionPoints | Locations of the points of each SeriesDefinition in the series. |