Class LineSeries
Represents a control that contains a data series to be rendered in X/Y line format.
Inheritance
System.Object
LineSeries
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 LineSeries : LineAreaBaseSeries<LineDataPoint>, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider, IRequireGlobalSeriesIndex
Constructors
| Improve this Doc View SourceLineSeries()
Initializes a new instance of the LineSeries class.
Declaration
public LineSeries()
Fields
| Improve this Doc View SourcePointsProperty
Identifies the Points dependency property.
Declaration
public static readonly DependencyProperty PointsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PolylineStyleProperty
Identifies the PolylineStyle dependency property.
Declaration
public static readonly DependencyProperty PolylineStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourcePoints
Gets the collection of points that make up the line.
Declaration
public PointCollection Points { get; }
Property Value
Type | Description |
---|---|
PointCollection |
PolylineStyle
Gets or sets the style of the Polyline object that follows the data points.
Declaration
public Style PolylineStyle { 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 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.LineDataPoint>.UpdateShapeFromPoints(System.Collections.Generic.IEnumerable<System.Windows.Point>)