[]
Sheets.DataCharts.DataChartConfigPanel
• new DataChartConfigPanel(host, spread)
Represents a data chart config panel.
| Name | Type | Description |
|---|---|---|
host |
string | HTMLElement |
The host element or the host element id or the host element selector. |
spread |
Workbook |
The spread that the panel attach to. |
▸ attach(spread): void
attach the spread to the config panel.
example
configPanel.attach(spread);
| Name | Type |
|---|---|
spread |
Workbook |
void
▸ destroy(): void
destroy the config panel.
example
configPanel.destroy();
void
▸ detach(): void
detach the spread from the config panel.
example
configPanel.detach();
void
▸ Static findControl(host): DataChartConfigPanel
Gets the DataChartConfigPanel instance by the host element.
example
const configPanel = GC.Spread.Sheets.DataCharts.DataChartConfigPanel.findControl('host');
| Name | Type | Description |
|---|---|---|
host |
string | HTMLElement |
The host element or the host element id or the host element selector. |
The DataChartConfigPanel instance.