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
DataMarkerTooltipTitleFormat
Tooltip title format for the series. Supported tags are {{SERIES_NAME}}, {{X_VALUE}} and {{Y_VALUE}}.
public string DataMarkerTooltipTitleFormat { get; set; }
Property Value
DataMarkerTooltipYValueFormat
Tooltip YValue format for the series. It is used to format the {{Y_VALUE}} tag.
public string? DataMarkerTooltipYValueFormat { get; set; }
Property Value
FillOpacity
public double FillOpacity { get; set; }
Property Value
Index
The position of this series within a list.
public int Index { get; set; }
Property Value
LineDisplayType
public LineDisplayType LineDisplayType { get; set; }
Property Value
Name
The legend label for this series.
public string Name { get; set; }
Property Value
ShowDataMarkers
Shows points at datapoints on line and area charts.
public bool ShowDataMarkers { get; set; }
Property Value
Visible
Displays this series in the chart.
public bool Visible { get; set; }