Class AreaSeries
Represents a control that contains a data series to be rendered in X/Y line format.
Inheritance
System.Object
AreaSeries
Implements
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 class AreaSeries : LineAreaBaseSeries<AreaDataPoint>, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider, IRequireGlobalSeriesIndex, IAnchoredToOrigin
Constructors
| Improve this Doc View SourceAreaSeries()
Initializes a new instance of the AreaSeries class.
Declaration
public AreaSeries()
Fields
| Improve this Doc View SourceGeometryProperty
Identifies the Geometry dependency property.
Declaration
public static readonly DependencyProperty GeometryProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PathStyleProperty
Identifies the PathStyle dependency property.
Declaration
public static readonly DependencyProperty PathStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceAnchoredAxis
Gets the axis to which the series is anchored.
Declaration
protected IRangeAxis AnchoredAxis { get; }
Property Value
Type | Description |
---|---|
IRangeAxis |
Geometry
Gets the geometry property.
Declaration
public Geometry Geometry { get; }
Property Value
Type | Description |
---|---|
Geometry |
PathStyle
Gets or sets the style of the Path object that follows the data points.
Declaration
public Style PathStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Methods
| Improve this Doc View SourceGetAxes(DataPoint)
Acquire a horizontal linear axis and a vertical linear axis.
Declaration
protected override void GetAxes(DataPoint firstDataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | firstDataPoint | The first data point. |
Overrides
| Improve this Doc View SourceGetValueMargins(IValueMarginConsumer)
Remove value margins from the side of the data points to ensure that area chart is flush against the edge of the chart.
Declaration
protected override IEnumerable<ValueMargin> GetValueMargins(IValueMarginConsumer consumer)
Parameters
Type | Name | Description |
---|---|---|
IValueMarginConsumer | consumer | The value margin consumer. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValueMargin> | A sequence of value margins. |
Overrides
| Improve this Doc View SourceUpdateShapeFromPoints(IEnumerable<Point>)
Updates the Series shape object from a collection of Points.
Declaration
protected override void UpdateShapeFromPoints(IEnumerable<Point> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Point> | points | Collection of Points. |
Overrides
System.Windows.Controls.DataVisualization.Charting.LineAreaBaseSeries<System.Windows.Controls.DataVisualization.Charting.AreaDataPoint>.UpdateShapeFromPoints(System.Collections.Generic.IEnumerable<System.Windows.Point>)
Explicit Interface Implementations
| Improve this Doc View SourceIAnchoredToOrigin.AnchoredAxis
Gets the axis to which the series is anchored.
Declaration
IRangeAxis IAnchoredToOrigin.AnchoredAxis { get; }
Returns
Type | Description |
---|---|
IRangeAxis |