Winter Cardinal UI - v0.442.0 / DChartSelectionSubImpl

Class: DChartSelectionSubImpl<CHART>

Type parameters

Name Type
CHART extends DBase = DBase

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DChartSelectionSubImpl<CHART>(options): DChartSelectionSubImpl<CHART>

Type parameters

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

Parameters

Name Type
options DChartSelectionSubOptions<CHART, any>

Returns

DChartSelectionSubImpl<CHART>

Overrides

utils.EventEmitter.constructor

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:39

Properties

_container

Protected _container: null | DChartSeriesContainer<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:26


_coordinateX

Protected _coordinateX: null | DChartCoordinate<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:30


_coordinateY

Protected _coordinateY: null | DChartCoordinate<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:31


_gridline

Protected _gridline: DChartSelectionContainer<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:35


_isEnabled

Protected _isEnabled: boolean

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:27


_isVisible

Protected _isVisible: boolean

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:28


_marker

Protected _marker: DChartSelectionMarker<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:36


_point

Protected _point: DChartSelectionPoint

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:33


_position

Protected _position: Point

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:32


_series

Protected _series: null | DChartSeries<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:29


_state

Protected _state: string

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:37


_work

Protected _work: Point

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:34

Accessors

gridline

get gridline(): DChartSelectionContainer<CHART>

Returns

DChartSelectionContainer<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:106


marker

get marker(): DChartSelectionMarker<CHART>

Returns

DChartSelectionMarker<CHART>

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:110


position

get position(): Point

Returns

Point

Implementation of

DChartSelectionSub.position

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:102


series

get series(): null | DChartSeries<CHART>

Returns

null | DChartSeries<CHART>

Implementation of

DChartSelectionSub.series

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:98


visible

get visible(): boolean

Returns

boolean

Implementation of

DChartSelectionSub.visible

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:94

Methods

addListener

addListener(event, fn, context?): this

Alias method for on

Parameters

Name Type
event string | symbol
fn Function
context? any

Returns

this

Implementation of

DChartSelectionSub.addListener

Inherited from

utils.EventEmitter.addListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25495


bind

bind(container): void

Parameters

Name Type
container DChartSeriesContainer<CHART>

Returns

void

Implementation of

DChartSelectionSub.bind

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:78


emit

emit(event, ...args): boolean

Calls each of the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.
...args any[] Arguments that are passed to registered listeners

Returns

boolean

true if the event had listeners, else false.

Implementation of

DChartSelectionSub.emit

Inherited from

utils.EventEmitter.emit

Defined in

node_modules/pixi.js/pixi.js.d.ts:25441


eventNames

eventNames(): (string | symbol)[]

Return an array listing the events for which the emitter has registered listeners.

Returns

(string | symbol)[]

Implementation of

DChartSelectionSub.eventNames

Inherited from

utils.EventEmitter.eventNames

Defined in

node_modules/pixi.js/pixi.js.d.ts:25415


listenerCount

listenerCount(event): number

Return the number of listeners listening to a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

number

Implementation of

DChartSelectionSub.listenerCount

Inherited from

utils.EventEmitter.listenerCount

Defined in

node_modules/pixi.js/pixi.js.d.ts:25432


listeners

listeners(event): Function[]

Return the listeners registered for a given event.

Parameters

Name Type Description
event string | symbol The event name.

Returns

Function[]

Implementation of

DChartSelectionSub.listeners

Inherited from

utils.EventEmitter.listeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25424


off

off(event, fn?, context?, once?): this

Alias method for removeListener

Parameters

Name Type
event string | symbol
fn? Function
context? any
once? boolean

Returns

this

Implementation of

DChartSelectionSub.off

Inherited from

utils.EventEmitter.off

Defined in

node_modules/pixi.js/pixi.js.d.ts:25489


on

on(event, fn, context?): this

Add a listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Implementation of

DChartSelectionSub.on

Inherited from

utils.EventEmitter.on

Defined in

node_modules/pixi.js/pixi.js.d.ts:25452


once

once(event, fn, context?): this

Add a one-time listener for a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn Function The listener function.
context? any The context to invoke the listener with.

Returns

this

this.

Implementation of

DChartSelectionSub.once

Inherited from

utils.EventEmitter.once

Defined in

node_modules/pixi.js/pixi.js.d.ts:25463


removeAllListeners

removeAllListeners(event?): this

Remove all listeners, or those of the specified event.

Parameters

Name Type Description
event? string | symbol The event name.

Returns

this

this.

Implementation of

DChartSelectionSub.removeAllListeners

Inherited from

utils.EventEmitter.removeAllListeners

Defined in

node_modules/pixi.js/pixi.js.d.ts:25483


removeListener

removeListener(event, fn?, context?, once?): this

Remove the listeners of a given event.

Parameters

Name Type Description
event string | symbol The event name.
fn? Function Only remove the listeners that match this function.
context? any Only remove the listeners that have this context.
once? boolean Only remove one-time listeners.

Returns

this

this.

Implementation of

DChartSelectionSub.removeListener

Inherited from

utils.EventEmitter.removeListener

Defined in

node_modules/pixi.js/pixi.js.d.ts:25475


set

set(x, y): void

Sets a series to null and set a position to the given global position.

Parameters

Name Type Description
x number a global X position
y number a global Y position

Returns

void

Implementation of

DChartSelectionSub.set

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:114

set(series, result): void

Sets a series and a position.

Parameters

Name Type Description
series DChartSeries<CHART> a series to be set
result DChartSeriesHitResult a hit result

Returns

void

Implementation of

DChartSelectionSub.set

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:115


set1

set1(x, y): void

Parameters

Name Type
x number
y number

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:124


set2

set2(series, result): void

Parameters

Name Type
series DChartSeries<CHART>
result DChartSeriesHitResult

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:179


unbind

unbind(): void

Returns

void

Implementation of

DChartSelectionSub.unbind

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:86


unset

unset(): void

Clear a series and a position.

Returns

void

Implementation of

DChartSelectionSub.unset

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:252


update

update(): boolean

Returns

boolean

Implementation of

DChartSelectionSub.update

Defined in

src/main/typescript/wcardinal/ui/d-chart-selection-sub-impl.ts:278