Skip to content

charton API


charton API / @chart-on/core / index / LegendPart

Interface: LegendPart ​

Defined in: packages/core/src/series.ts:160

One value in a legend row: its text, an optional colour and an optional muted label.

Properties ​

color? ​

optional color?: string

Defined in: packages/core/src/series.ts:162


label? ​

optional label?: string

Defined in: packages/core/src/series.ts:164

Muted prefix such as "O" / "H" (compact value labels).


text ​

text: string

Defined in: packages/core/src/series.ts:161