IDataLabelsConfig
Home > @gooddata/sdk-ui-charts > IDataLabelsConfig
IDataLabelsConfig interface
Signature:
export interface IDataLabelsConfig
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
(Optional) Indicates whether to render data labels enriched with percentages. Applies only to funnel chart. | ||
|
"auto" | "inside" | "outside" |
(Optional) Placement of data labels. Applies to pie and donut charts only. - "auto" (default): whole-chart adaptive — outside (callouts with leader lines) when the smallest visible slice is ≤ 5%, inside otherwise. A chart never mixes inside and outside. - "inside": force every label inside its slice; labels that don't fit are omitted - "outside": place every label outside with a leader line | ||
|
"auto" | "backplate" |
(Optional) Visual style of data labels. Shared across all chart types. - "auto" (default): plain label text with automatic contrast color - "backplate": solid background rectangle behind label text; composes with any position | ||
|
(Optional) | |||
|
(Optional) |