@sqlrooms/mosaic / ChartSettingsPanelProps
Type Alias: ChartSettingsPanelProps
ChartSettingsPanelProps =
object
Props for the ChartSettingsPanel component.
Properties
dataTable
dataTable:
DataTable|undefined
The data table used by the chart
config
config:
ChartConfig
Current chart configuration
onConfigChange
onConfigChange: (
config) =>void
Callback when chart configuration changes
Parameters
| Parameter | Type |
|---|---|
config | ChartConfig |
Returns
void
onTableChange
onTableChange: (
table) =>void
Callback when the selected data table changes
Parameters
| Parameter | Type |
|---|---|
table | DataTable |
Returns
void
title?
optionaltitle?:string
Optional title/caption for the chart
onTitleChange?
optionalonTitleChange?: (title) =>void
Callback when the chart title changes
Parameters
| Parameter | Type |
|---|---|
title | string |
Returns
void
readOnly?
optionalreadOnly?:boolean
Whether settings should be non-mutating
onClose?
optionalonClose?: () =>void
Optional callback to close the host settings panel
Returns
void