Winter Cardinal UI - v0.457.0 / DChartSeriesLineOfAny
A series represents a line of anything. Data points must be sorted in ascending order on the X axis.
| Name | Type |
|---|---|
CHART |
extends DBase = DBase |
DChartSeriesBase<CHART>
↳ DChartSeriesLineOfAny
↳↳ DChartSeriesLineOfRectangleRoundeds
• new DChartSeriesLineOfAny<CHART>(options?): DChartSeriesLineOfAny<CHART>
| Name | Type |
|---|---|
CHART |
extends DBase<DThemeBase, DBaseOptions<DThemeBase, any>> = DBase<DThemeBase, DBaseOptions<DThemeBase, any>> |
| Name | Type |
|---|---|
options? |
DChartSeriesLineOfAnyOptions |
DChartSeriesLineOfAny<CHART>
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:72
• Protected Optional _container: DChartSeriesContainer<CHART>
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:39
• Protected _coordinate: DChartSeriesBaseCoordinateContainer<CHART>
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:37
• Protected _domain: DChartRegionImpl
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:42
• Protected Optional _fill: DChartSeriesFillComputed
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:68
• Protected _index: number
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:40
• Protected _isShown: boolean
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:47
• Protected _line: null | EShapeLineOfAny
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:61
• Protected Optional _offset: DChartSeriesPointComputed
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:70
• Protected Optional _options: DChartSeriesLineOfAnyOptions
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:62
• Protected _pointId: number
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:64
• Protected _pointIdUpdated: number
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:65
• Protected _points: (null | number)[]
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:63
• Protected _range: DChartRegionImpl
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:43
• Protected _regionPointId: number
DChartSeriesBase._regionPointId
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:44
• Protected Optional _size: DChartSeriesPointComputed
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:69
• Protected _state: DBaseStateSet
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:46
• Protected Optional _stroke: DChartSeriesStrokeComputed
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:67
▪ Static Protected WORK: Point
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:58
▪ Static Protected Optional WORK_REGION: DChartSeriesLineOfAnyRegion
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:59
• get container(): null | DChartSeriesContainer<CHART>
null | DChartSeriesContainer<CHART>
DChartSeriesBase.container
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:108
• get coordinate(): DChartSeriesCoordinateContainer<CHART>
DChartSeriesCoordinateContainer<CHART>
DChartSeriesBase.coordinate
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:116
• get domain(): DChartRegionImmutable
DChartSeriesBase.domain
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:98
• get index(): number
number
DChartSeriesBase.index
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:112
• get points(): (null | number)[]
(null | number)[]
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:148
• set points(points): void
| Name | Type |
|---|---|
points |
(null | number)[] |
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:152
• get range(): DChartRegionImmutable
DChartSeriesBase.range
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:103
• get shape(): null | EShapeLineOfAny
null | EShapeLineOfAny
DChartSeriesBase.shape
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:144
• get state(): DBaseStateSet
DChartSeriesBase.state
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:120
▸ addListener(event, fn, context?): this
Alias method for on
| Name | Type |
|---|---|
event |
string | symbol |
fn |
Function |
context? |
any |
this
node_modules/pixi.js/pixi.js.d.ts:25495
▸ adjustLineRegion(xmin, xmax, ymin, ymax, result): DChartSeriesLineOfAnyRegion
| Name | Type |
|---|---|
xmin |
number |
xmax |
number |
ymin |
number |
ymax |
number |
result |
DChartSeriesLineOfAnyRegion |
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:278
▸ applyLine(line, xcoordinate, ycoordinate, sx, sy, cx, cy, values): void
| Name | Type |
|---|---|
line |
EShapeLineOfAny |
xcoordinate |
DChartCoordinate<CHART> |
ycoordinate |
DChartCoordinate<CHART> |
sx |
number |
sy |
number |
cx |
number |
cy |
number |
values |
number[] |
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:292
▸ bind(container, index): this
| Name | Type |
|---|---|
container |
DChartSeriesContainer<CHART> |
index |
number |
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:89
▸ calcHitPoint(x, y, result): boolean
| Name | Type |
|---|---|
x |
number |
y |
number |
result |
DChartSeriesHitResult |
boolean
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:364
▸ calcHitPointHitTester(this, x, y, ax, ay, ox, oy, px, py, sw, ss, sa, index, threshold, result): boolean
| Name | Type |
|---|---|
this |
unknown |
x |
number |
y |
number |
ax |
number |
ay |
number |
ox |
number |
oy |
number |
px |
number |
py |
number |
sw |
number |
ss |
number |
sa |
number |
index |
number |
threshold |
number |
result |
DChartSeriesHitResult |
boolean
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:408
▸ calcHitPointTestRange(this, x, y, ax, ay, ox, oy, threshold, values, result): [number, number]
| Name | Type |
|---|---|
this |
unknown |
x |
number |
y |
number |
ax |
number |
ay |
number |
ox |
number |
oy |
number |
threshold |
number |
values |
number[] |
result |
[number, number] |
[number, number]
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:383
▸ calcRegion(points, domain, range): void
| Name | Type |
|---|---|
points |
(null | number)[] |
domain |
DChartRegion |
range |
DChartRegion |
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:321
▸ destroy(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:338
▸ doUpdate(render): boolean
| Name | Type |
|---|---|
render |
boolean |
boolean
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:172
▸ doUpdateLine(line, xcoordinate, ycoordinate): void
| Name | Type |
|---|---|
line |
EShapeLineOfAny |
xcoordinate |
DChartCoordinate<CHART> |
ycoordinate |
DChartCoordinate<CHART> |
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:199
▸ emit(event, ...args): boolean
Calls each of the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
...args |
any[] |
Arguments that are passed to registered listeners |
boolean
true if the event had listeners, else false.
node_modules/pixi.js/pixi.js.d.ts:25441
▸ eventNames(): (string | symbol)[]
Return an array listing the events for which the emitter has registered listeners.
(string | symbol)[]
node_modules/pixi.js/pixi.js.d.ts:25415
▸ getOffsetDefault(): number
number
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:85
▸ getSizeDefault(): number
number
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:81
▸ hide(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:143
▸ hitTest(x, y): boolean
| Name | Type |
|---|---|
x |
number |
y |
number |
boolean
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:353
▸ initLine(line, options, container, index): void
| Name | Type |
|---|---|
line |
EShapeLineOfAny |
options |
undefined | DChartSeriesLineOfAnyOptions |
container |
DChartSeriesContainer<CHART> |
index |
number |
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:103
▸ isHidden(): boolean
boolean
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:158
▸ isShown(): boolean
boolean
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:139
▸ listenerCount(event): number
Return the number of listeners listening to a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
number
DChartSeriesBase.listenerCount
node_modules/pixi.js/pixi.js.d.ts:25432
▸ listeners(event): Function[]
Return the listeners registered for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
Function[]
node_modules/pixi.js/pixi.js.d.ts:25424
▸ newLineOfAny(): EShapeLineOfAny
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:133
▸ off(event, fn?, context?, once?): this
Alias method for removeListener
| Name | Type |
|---|---|
event |
string | symbol |
fn? |
Function |
context? |
any |
once? |
boolean |
this
node_modules/pixi.js/pixi.js.d.ts:25489
▸ on(event, fn, context?): this
Add a listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
node_modules/pixi.js/pixi.js.d.ts:25452
▸ onHide(): void
void
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:151
▸ onRender(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:167
▸ onShow(): void
void
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:132
▸ onStateChange(newState, oldState): void
| Name | Type |
|---|---|
newState |
DBaseStateSet |
oldState |
DBaseStateSet |
void
DChartSeriesBase.onStateChange
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:178
▸ once(event, fn, context?): this
Add a one-time listener for a given event.
| Name | Type | Description |
|---|---|---|
event |
string | symbol |
The event name. |
fn |
Function |
The listener function. |
context? |
any |
The context to invoke the listener with. |
this
this.
node_modules/pixi.js/pixi.js.d.ts:25463
▸ removeAllListeners(event?): this
Remove all listeners, or those of the specified event.
| Name | Type | Description |
|---|---|---|
event? |
string | symbol |
The event name. |
this
this.
DChartSeriesBase.removeAllListeners
node_modules/pixi.js/pixi.js.d.ts:25483
▸ removeListener(event, fn?, context?, once?): this
Remove the listeners of a given event.
| 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. |
this
this.
DChartSeriesBase.removeListener
node_modules/pixi.js/pixi.js.d.ts:25475
▸ show(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-base.ts:124
▸ toDirty(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:157
▸ unbind(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:135
▸ update(): this
this
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:162
▸ updateRegion(): void
void
src/main/typescript/wcardinal/ui/d-chart-series-line-of-any.ts:308