Class MudCategoryChartBase
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents a base class for designing category MudChart components.
public abstract class MudCategoryChartBase : MudChartBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudCategoryChartBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
MudCategoryChartBase()
protected MudCategoryChartBase()
Properties
ChartSeries
The series of values to display.
[Parameter]
[Category("Behavior")]
public List<ChartSeries> ChartSeries { get; set; }
Property Value
InputData
The data to be displayed.
[Parameter]
[Category("Behavior")]
public double[]? InputData { get; set; }
Property Value
- double[]
Remarks
Applies to Pie
and Donut
charts. The number of values in this array should be the same as the number of labels in the InputLabels property.
InputLabels
The labels describing data values.
[Parameter]
[Category("Behavior")]
public string[] InputLabels { get; set; }
Property Value
- string[]
Remarks
Applies to Pie
and Donut
charts. The number of labels in this array is typically the same as the number of values in the InputData property.
XAxisLabels
The labels applied to the horizontal axis.
[Parameter]
[Category("Behavior")]
public string[] XAxisLabels { get; set; }
Property Value
- string[]
Remarks
Applies to Line
, Bar
, and StackedBar
charts. The number of values in this array is typically equal to the number of values in the Data property.
Methods
GetNormalizedData()
Scales the input data to the range between 0 and 1
protected double[] GetNormalizedData()
Returns
- double[]