Class ChartSeries
- Namespace
- Tudormobile.Wpf.Controls
- Assembly
- Tudormobile.WpfControls.dll
Represents a data series containing a collection of numeric data points for chart visualization.
public class ChartSeries
- Inheritance
-
ChartSeries
- Derived
- Inherited Members
Remarks
This is the base class for chart data series. It contains a named collection of double values that can be bound to chart controls for rendering.
Properties
DataPoints
Gets or sets the collection of numeric data points to be displayed in the chart.
public ObservableCollection<double> DataPoints { get; set; }
Property Value
Remarks
The data points are rendered as bars, lines, or other visual elements depending on the chart type. Changes to this collection will automatically update the chart if it supports change notifications.
Name
Gets or sets the name of the data series.
public string? Name { get; set; }
Property Value
Remarks
The name is typically used for legend labels and series identification in the chart.