charton API / @chart-on/core / index / readChartSetting
Function: readChartSetting()
readChartSetting(
chart,setting):unknown
Defined in: packages/core/src/chart-settings.ts:482
The current value of a setting, by field or by path (see ChartSettingField): resolved theme colors and grid, the resolved legend settings and feature flags, then the chart options. A field's unset stands in for a value that is not set. undefined when there is none, as for a series. path without a main series.
Parameters
chart
setting
string | ChartSettingField
Returns
unknown