API / Series/General / StackLabelsOptions
Defined in: src/core/types/chart/series.ts:93
Raw totals of visible stacked series. Participants in one stack and value axis must
resolve to identical style, format, padding and allowOverlap settings or validation fails.
Properties
| Property | Type | Description |
|---|---|---|
allowOverlap? |
boolean |
Allow totals to overlap other labels. Otherwise overlapping totals are hidden. Segment labels in the same plugin layer take priority, even for small top segments. Default false |
enabled? |
boolean |
Include the visible series in stack totals. Series-level values override plugin options. Default false |
format? |
ValueFormat |
Format the raw sum, including for percent stacks. Custom formatters receive {value}. |
padding? |
number |
Distance from the stack boundary in pixels. Labels are kept inside the plot. Default 5 |
style? |
Partial<BaseTextStyle> |
Text styles, merged with plugin defaults. |
Previous
Next