PieChartDataset Class

The doughnut/pie chart allows a number of properties to be specified for each dataset. These are used to set display properties for a specific dataset. https://www.chartjs.org/docs/latest/charts/doughnut.html#dataset-properties.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class PieChartDataset : ChartDataset<double?>
Inheritance
Object    ChartDatasetNullableDouble    PieChartDataset

Constructors

PieChartDatasetInitializes a new instance of the PieChartDataset class

Properties

BorderAlign Supported values are 'center' and 'inner'. When 'center' is set, the borders of arcs next to each other will overlap. When 'inner' is set, it is guaranteed that all borders will not overlap.
BorderDash Arc border length and spacing of dashes.
BorderDashOffset Arc border offset for line dashes.
BorderJoinStyle Arc border join style. Supported values are 'round', 'bevel', 'miter'.
BorderRadius It is applied to all corners of the arc (outerStart, outerEnd, innerStart, innerRight).
Circumference Per-dataset override for the sweep that the arcs cover.
HoverBorderDash Arc border length and spacing of dashes when hovered.
HoverBorderDashOffset Arc border offset for line dashes when hovered.
HoverBorderJoinStyle Arc border join style when hovered. Supported values are 'round', 'bevel', 'miter'.
HoverOffset Arc offset when hovered (in pixels).
Offset Arc offset (in pixels).
Rotation Per-dataset override for the starting angle to draw arcs from.
Spacing Fixed arc offset (in pixels). Similar to Offset but applies to all arcs.
Weight The relative thickness of the dataset. Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.

See Also