charton API / @chart-on/core / index / ChartSettingChoice
Interface: ChartSettingChoice
Defined in: packages/core/src/chart-settings.ts:16
One choice of a select setting: the value written to the option and the label shown for it.
Properties
label
label:
string
Defined in: packages/core/src/chart-settings.ts:18
labelKey?
optionallabelKey?:string
Defined in: packages/core/src/chart-settings.ts:20
Message key of label with labelParams filled in; a settings dialog shows it in the chart's language while label is unchanged.
labelParams?
optionallabelParams?:Readonly<Record<string,string|number>>
Defined in: packages/core/src/chart-settings.ts:22
Values for the {name} placeholders of labelKey's text.
value
value:
string|number
Defined in: packages/core/src/chart-settings.ts:17