Winter Cardinal UI - v0.442.0 / DChartSelectionShapeBase

Class: DChartSelectionShapeBase<CHART>

Type parameters

Name Type
CHART extends DBase = DBase

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DChartSelectionShapeBase<CHART>(options?): DChartSelectionShapeBase<CHART>

Type parameters

Name Type
CHART extends DBase<DThemeBase, DBaseOptions<DThemeBase, any>> = DBase<DThemeBase, DBaseOptions<DThemeBase, any>>

Parameters

Name Type
options? DChartSelectionShapeOptions<CHART>

Returns

DChartSelectionShapeBase<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:35

Properties

_isEnabled

Protected _isEnabled: boolean

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:28


_newShape

Protected Optional _newShape: (state: DBaseStateSet) => EShape

Type declaration

▸ (state): EShape

Parameters
Name Type
state DBaseStateSet
Returns

EShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:30


_options

Protected Optional _options: DChartSelectionShapeOptions<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:27


_shape

Protected Optional _shape: EShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:29


_state

Protected _state: DBaseStateSet

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:32


_style

Protected _style: DChartSelectionStyle<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:31


_theme

Protected _theme: DThemeChartSelectionShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:33

Methods

bind

bind(container): void

Parameters

Name Type
container DChartSeriesContainer<CHART>

Returns

void

Implementation of

DChartSelectionShape.bind

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:54


getTheme

getTheme(type): DThemeChartSelectionShape

Parameters

Name Type
type string

Returns

DThemeChartSelectionShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:126


getType

getType(): string

Returns

string

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:130


newShape

newShape(state, theme): EShape

Parameters

Name Type
state DBaseStateSet
theme DThemeChartSelectionShape

Returns

EShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:79


set

set(container, position, mappedPosition, series): void

Parameters

Name Type
container DChartSeriesContainer<CHART>
position IPoint
mappedPosition IPoint
series null | DChartSeries<CHART>

Returns

void

Implementation of

DChartSelectionShape.set

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:83


setStyle

setStyle(this, shape, series): void

Parameters

Name Type
this unknown
shape EShape
series null | DChartSeries<CHART>

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:97


toTheme

toTheme(options?): DThemeChartSelectionShape

Parameters

Name Type
options? DChartSelectionShapeOptions<CHART>

Returns

DThemeChartSelectionShape

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:115


unbind

unbind(): void

Returns

void

Implementation of

DChartSelectionShape.unbind

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:72


unset

unset(): void

Returns

void

Implementation of

DChartSelectionShape.unset

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:101


update

update(container, position, mappedPosition, series): boolean

Parameters

Name Type
container DChartSeriesContainer<CHART>
position IPoint
mappedPosition IPoint
series null | DChartSeries<CHART>

Returns

boolean

Implementation of

DChartSelectionShape.update

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-shape-base.ts:108