Table of Contents

Class DateSeries

Namespace
Tudormobile.Wpf.Controls
Assembly
Tudormobile.WpfControls.dll

Represents a date-series data set that associates data points with specific calendar dates.

public class DateSeries : ChartSeries
Inheritance
DateSeries
Inherited Members

Remarks

This class extends ChartSeries by adding a parallel collection of DateOnly values that correspond to each data point. This is useful for date-based charts where the X-axis represents calendar dates without time components. The DatePoints collection should have the same number of elements as DataPoints.

Properties

DatePoints

Gets or sets the collection of date points that correspond to the data points.

public ObservableCollection<DateOnly> DatePoints { get; set; }

Property Value

ObservableCollection<DateOnly>

Remarks

Each date point represents the calendar date for the corresponding value in the DataPoints collection. Ensure this collection has the same count as DataPoints for proper chart rendering.