MudBlazor

Bar API

Pages

Properties

Name Type Default Description
Inherited from MudChartBase
ChartOptions
ChartOptions

ChartSeries
List<ChartSeries>

ChartType
ChartType

ChartType.Donut

The Type of the chart.
Height
String

"80%"

The Height of the chart, end with % or px.
InputData
Double[]

InputLabels
String[]

LegendPosition
Position

Position.Bottom

The placement direction of the legend if used.
SelectedIndex
Int32

0

Selected index of a portion of the chart.
Width
String

"80%"

The Width of the chart, end with % or px.
XAxisLabels
String[]

Inherited from MudComponentBase
Class
String

null

User class names, separated by space.
Style
String

null

User styles, applied on top of the component's own classes and styles.
Tag
Object

null

Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<String, Object>

UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.

EventCallbacks

Name Type Description
SelectedIndexChanged
EventCallback<Int32>
Selected index of a portion of the chart.
020
An error has occurred. This application may no longer respond until reloaded. Reload 🗙