Table of Contents

Class ChartSeries

Namespace
MudBlazor
Assembly
MudBlazor.dll

Represents a set of data to display in a MudChart.

public class ChartSeries
Inheritance
ChartSeries
Inherited Members
Extension Methods

Remarks

This class is typically used to display multiple sets of values in a line, bar, or stacked bar chart.

Constructors

ChartSeries()

public ChartSeries()

Properties

Data

The values to display.

public double[] Data { get; set; }

Property Value

double[]

Remarks

The number of values in this array is typically equal to the number of values in the MudChartXAxisLabels property.

DataMarkerTooltipSubtitleFormat

Tooltip subtitle format for the series. Supported tags are {{SERIES_NAME}}, {{X_VALUE}} and {{Y_VALUE}}.

public string? DataMarkerTooltipSubtitleFormat { get; set; }

Property Value

string

DataMarkerTooltipTitleFormat

Tooltip title format for the series. Supported tags are {{SERIES_NAME}}, {{X_VALUE}} and {{Y_VALUE}}.

public string DataMarkerTooltipTitleFormat { get; set; }

Property Value

string

DataMarkerTooltipYValueFormat

Tooltip YValue format for the series. It is used to format the {{Y_VALUE}} tag.

public string? DataMarkerTooltipYValueFormat { get; set; }

Property Value

string

FillOpacity

public double FillOpacity { get; set; }

Property Value

double

Index

The position of this series within a list.

public int Index { get; set; }

Property Value

int

LineDisplayType

public LineDisplayType LineDisplayType { get; set; }

Property Value

LineDisplayType

Name

The legend label for this series.

public string Name { get; set; }

Property Value

string

ShowDataMarkers

Shows points at datapoints on line and area charts.

public bool ShowDataMarkers { get; set; }

Property Value

bool

Visible

Displays this series in the chart.

public bool Visible { get; set; }

Property Value

bool