[]
        
(Showing Draft Content)

GC.Spread.Sheets.DataCharts.DataChartConfigPanel

Class: DataChartConfigPanel

Sheets.DataCharts.DataChartConfigPanel

Table of contents

Constructors

Methods

Constructors

constructor

new DataChartConfigPanel(host, spread)

Represents a data chart config panel.

Parameters

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.

Methods

attach

attach(spread): void

attach the spread to the config panel.

example

configPanel.attach(spread);

Parameters

Name Type
spread Workbook

Returns

void


destroy

destroy(): void

destroy the config panel.

example

configPanel.destroy();

Returns

void


detach

detach(): void

detach the spread from the config panel.

example

configPanel.detach();

Returns

void


findControl

Static findControl(host): DataChartConfigPanel

Gets the DataChartConfigPanel instance by the host element.

example

const configPanel = GC.Spread.Sheets.DataCharts.DataChartConfigPanel.findControl('host');

Parameters

Name Type Description
host string | HTMLElement The host element or the host element id or the host element selector.

Returns

DataChartConfigPanel

The DataChartConfigPanel instance.