Skip to main content
Version: latest

ISettingsAdapter

Interface

Properties of the ChartingLibraryWidgetOptions.settings_adapter property that allows saving user settings to your preferred storage, including server-side.

Properties

initialSettings

Optional

Initial settings the chart should be initiated with.

Type

InitialSettingsMap

Methods

removeValue

Remove a value for a setting.

Signature

removeValue(key: string) => void

Parameters

NameType
keystring

Returns

void


setValue

Set a value for a setting.

Signature

setValue(key: string, value: string) => void

Parameters

NameType
keystring
valuestring

Returns

void