API / Series/Pie / PieSeriesData
Defined in: src/types/chart/pie.ts:9
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T |
MeaningfulAny |
Properties
| Property | Type | Description |
|---|---|---|
color? |
string |
Individual color for the data chunk (point in scatter, segment in pie, bar etc) |
custom? |
T |
A reserved subspace to store options and values for customized functionality Here you can add additional data for your own event callbacks and formatter callbacks |
label? |
string |
Initial data label of the pie segment. If not specified, the value is used. |
legend? |
BaseSeriesLegend & object |
Individual series legend options. Has higher priority than legend options in series data |
name |
string |
The name of the pie segment (used in legend, tooltip etc). |
opacity? |
number |
Individual opacity for the pie segment. |
radius? |
string | number |
The individual radius of the pie segment. The default value is series.radius |
value |
null | number |
The value of the pie segment. |
visible? |
boolean |
Initial visibility of the pie segment. |