Winter Cardinal UI - v0.457.0 / DChartCoordinateTransform
| Name | Type |
|---|---|
CHART |
extends DBase = DBase |
• Readonly id: number
Monotonic increasing ID for change detection.
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:25
• scale: number
Scale
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:35
• translate: number
Translation amount
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:30
▸ bind(container, direction): void
| Name | Type |
|---|---|
container |
DChartCoordinateContainerSub<CHART> |
direction |
DChartCoordinateDirection |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:41
▸ blend(ratio, target): void
| Name | Type |
|---|---|
ratio |
number |
target |
DChartCoordinateTransformMark |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:39
▸ map(value): number
Transforms the given untransformed value to a transformed value.
| Name | Type | Description |
|---|---|---|
value |
number |
an untransformed value |
number
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:52
▸ mapAll(values, ifrom, iend, stride, offset): void
Transforms the given untransformed values to transformed values. Numbers whose indices are ifrom + i * stride + offset and less than iend will be transformed. Here, i is a non-negative integer.
| Name | Type | Description |
|---|---|---|
values |
number[] |
untransformed values to be transformed |
ifrom |
number |
an index on raw values at which to begin a transformation |
iend |
number |
an index on raw values before which to end a transformation |
stride |
number |
a stride of indices |
offset |
number |
an offset of indices |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:65
▸ set(translate?, scale?): void
| Name | Type |
|---|---|
translate? |
number |
scale? |
number |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:37
▸ unbind(): void
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:45
▸ unmap(value): number
Transforms the given transformed value to an untransformed value.
| Name | Type | Description |
|---|---|---|
value |
number |
a transformed value |
number
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:72
▸ unmapAll(values, ifrom, iend, stride, offset): void
Transformed the given transformed values to untransformed values. Numbers whose indices are ifrom + i * stride + offset and less than iend will be transformed. Here, i is a non-negative integer.
| Name | Type | Description |
|---|---|---|
values |
number[] |
transformed values to be transformed. |
ifrom |
number |
an index on raw values at which to begin a transformation |
iend |
number |
an index on raw values before which to end a transformation |
stride |
number |
a stride of indices |
offset |
number |
an offset of indices |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-transform.ts:85