Class RadarChartWidget
Represents a widget for displaying radar charts.
public class RadarChartWidget : TrinityChartWidget<RadarChartWidget>, ITrinityWidget, ITrinityComponent
- Inheritance
-
RadarChartWidget
- Implements
- Inherited Members
Properties
ComponentName
The component name in the front-end side.
public override string ComponentName { get; }
Property Value
Methods
SetDataset(List<object>, string, string?, string?, string?, string?, string?)
Sets the dataset for the radar chart widget.
public RadarChartWidget SetDataset(List<object> data, string label, string? borderColor = null, string? pointBackgroundColor = null, string? pointBorderColor = null, string? pointHoverBackgroundColor = null, string? pointHoverBorderColor = null)
Parameters
data
List<object>The data to be used in the chart.
label
stringThe label to be used for the dataset.
borderColor
stringThe border color for the data points.
pointBackgroundColor
stringThe background color for the data points.
pointBorderColor
stringThe border color for the data points.
pointHoverBackgroundColor
stringThe hover background color for the data points.
pointHoverBorderColor
stringThe hover border color for the data points.
Returns
- RadarChartWidget
The RadarChartWidget instance.