Table of Contents

Class DoughnutChartWidget

Namespace
AbanoubNassem.Trinity.Widgets
Assembly
AbanoubNassem.Trinity.dll

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

string

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

string

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 string

The percentage of the chart that is cut out of the middle.

Returns

DoughnutChartWidget

The current instance of the DoughnutChartWidget class.