Donut API

Properties
Name Type Default Description
Behavior
CanHideSeries
bool
False Indicates whether lines in a LineChart can be individually hidden by the user. When set to true, the chart provides a checkboxes to toggle the visibility of each line.
ChartSeries
List<ChartSeries>
ChartType
ChartType
ChartType.Donut The Type of the chart.
InputData
double[]
InputLabels
string[]
SelectedIndex
int
0 Selected index of a portion of the chart.
XAxisLabels
string[]
Appearance
ChartOptions
ChartOptions
CustomGraphics
RenderFragment
null RenderFragment for costumization inside the chart's svg.
Height
string
"80%" The Height of the chart, end with % or px.
LegendPosition
Position
Position.Bottom The placement direction of the legend if used.
Width
string
"80%" The Width of the chart, end with % or px.
Common
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<int> Selected index of a portion of the chart.

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.5

An unhandled error has occurred. Reload 🗙