Table of Contents

Class MudTimeSeriesChartBase

Namespace
MudBlazor
Assembly
MudBlazor.dll
public abstract class MudTimeSeriesChartBase : MudChartBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
Inheritance
MudTimeSeriesChartBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

MudTimeSeriesChartBase()

protected MudTimeSeriesChartBase()

Properties

ChartSeries

The series of values to display.

[Parameter]
[Category("Behavior")]
public List<TimeSeriesChartSeries> ChartSeries { get; set; }

Property Value

List<TimeSeriesChartSeries>

DataMarkerTooltipTimeLabelFormat

Specifies the DateTime format for Timestamp labels in DataPoint marker tooltips.

[Parameter]
[Category("Behavior")]
public string DataMarkerTooltipTimeLabelFormat { get; set; }

Property Value

string

Remarks

Defaults to "HH:mm".

MatchBoundsToSize

Determines if the chart should derive its bounds from the parent chart.

[Parameter]
[Category("Behavior")]
[Obsolete("Use MatchBoundsToSize from the MudChartParents AxisChartOptions.MatchBoundsToSize instead. This will be removed in a future major version.", false)]
public bool MatchBoundsToSize { get; set; }

Property Value

bool

TimeLabelFormat

Specifies the datetime format for timestamp labels.

[Parameter]
[Category("Behavior")]
public string TimeLabelFormat { get; set; }

Property Value

string

Remarks

Defaults to "HH:mm".

TimeLabelSpacing

A way to have minimum spacing between timestamp labels, default of 5 minutes.

[Parameter]
[Category("Behavior")]
public TimeSpan TimeLabelSpacing { get; set; }

Property Value

TimeSpan

TimeLabelSpacingRounding

Determines whether timestamp labels should be rounded to the nearest spacing value.

[Parameter]
[Category("Behavior")]
public bool TimeLabelSpacingRounding { get; set; }

Property Value

bool

Remarks

Default is false.

TimeLabelSpacingRoundingPadSeries

Determines how timestamp labels are adjusted when TimeLabelSpacingRounding is enabled.

[Parameter]
[Category("Behavior")]
public bool TimeLabelSpacingRoundingPadSeries { get; set; }

Property Value

bool

Remarks

When true, the series is padded to allow rounding with labels before and after the series start and end. When false, labels are moved inward to align with the label spacing without altering the axis start and end times.

XAxisTitle

Specifies the title for the X axis.

[Parameter]
[Category("Behavior")]
public string? XAxisTitle { get; set; }

Property Value

string

YAxisTitle

Specifies the title for the Y axis.

[Parameter]
[Category("Behavior")]
public string? YAxisTitle { get; set; }

Property Value

string