IPieDataPoint interface

Data point for Pie data visualization components.

Extends

IDataPoint<string>

Remarks

The category is to ge given as x in IDataPoint and the value as y in IDataPoint

Properties

color

Individual color of the data point. Example: 'red', '#FF0000', 'rgba(255, 0, 0, 1)'

showLabel

Flag to toggle visibility of the label for the data point.

Property Details

color

Individual color of the data point. Example: 'red', '#FF0000', 'rgba(255, 0, 0, 1)'

color?: string;

Property Value

string

Remarks

If not provided, a color will be automatically assigned.

showLabel

Flag to toggle visibility of the label for the data point.

showLabel?: boolean;

Property Value

boolean

Remarks

The above numbers indicate the maximum number of labels that will be shown for the respective card layouts. If the provided number of labels exceeds the limit, the excess labels will be hidden.