Table of Contents

Class RadarChartWidget

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

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

string

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 string

The label to be used for the dataset.

borderColor string

The border color for the data points.

pointBackgroundColor string

The background color for the data points.

pointBorderColor string

The border color for the data points.

pointHoverBackgroundColor string

The hover background color for the data points.

pointHoverBorderColor string

The hover border color for the data points.

Returns

RadarChartWidget

The RadarChartWidget instance.