Class DoughnutChartWidget
Represents a Doughnut like Chart widget.
public class DoughnutChartWidget : PieChartWidget, ITrinityWidget, ITrinityComponent
- Inheritance
-
DoughnutChartWidget
- Implements
- Inherited Members
Properties
ComponentName
The component name in the front-end side.
public override string ComponentName { get; }
Property Value
Cutout
Gets or sets the percentage of the chart that is cut out of the middle for creating a doughnut chart. Default is "60%".
public string? Cutout { get; protected set; }
Property Value
Methods
SetCutout(string)
Sets the percentage of the chart that is cut out of the middle for creating a doughnut chart.
public DoughnutChartWidget SetCutout(string cutout)
Parameters
cutout
stringThe percentage of the chart that is cut out of the middle.
Returns
- DoughnutChartWidget
The current instance of the DoughnutChartWidget class.