Winter Cardinal UI - v0.442.0 / DChartCoordinateLinear
Name | Type |
---|---|
CHART |
extends DBase = DBase |
DChartCoordinateBase
<CHART
>
↳ DChartCoordinateLinear
• new DChartCoordinateLinear<CHART
>(options?
): DChartCoordinateLinear
<CHART
>
Name | Type |
---|---|
CHART |
extends DBase <DThemeBase , DBaseOptions <DThemeBase , any >> = DBase <DThemeBase , DBaseOptions <DThemeBase , any >> |
Name | Type |
---|---|
options? |
DChartCoordinateOptions |
DChartCoordinateLinear
<CHART
>
DChartCoordinateBase.constructor
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:46
• Protected
Optional
_container: DChartCoordinateContainerSub
<CHART
>
DChartCoordinateBase._container
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:37
• Protected
_direction: DChartCoordinateDirection
DChartCoordinateBase._direction
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:38
• Protected
Optional
_from: number
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:43
• Protected
_id: number
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:35
• Protected
_mark: DChartCoordinateTransformMark
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:42
• Protected
_theme: DThemeChartCoordinate
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:39
• Protected
_tick: DChartCoordinateTick
<CHART
>
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:41
• Protected
Optional
_to: number
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:44
• Protected
_transform: DChartCoordinateTransform
<CHART
>
DChartCoordinateBase._transform
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:36
• Protected
_work: DChartRegionImpl
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:40
• get
from(): undefined
| number
undefined
| number
DChartCoordinateBase.from
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:74
• set
from(from
): void
Name | Type |
---|---|
from |
undefined | number |
void
DChartCoordinateBase.from
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:78
• get
id(): number
Monotonic increasing ID for change detection.
number
DChartCoordinateBase.id
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:237
• get
to(): undefined
| number
undefined
| number
DChartCoordinateBase.to
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:82
• set
to(to
): void
Name | Type |
---|---|
to |
undefined | number |
void
DChartCoordinateBase.to
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:86
• get
transform(): DChartCoordinateTransform
<CHART
>
DChartCoordinateTransform
<CHART
>
DChartCoordinateBase.transform
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:241
▸ bind(container
, direction
): void
Name | Type |
---|---|
container |
DChartCoordinateContainerSub <CHART > |
direction |
DChartCoordinateDirection |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:90
▸ blend(ratio
): void
Name | Type |
---|---|
ratio |
number |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:116
▸ doFit(from
, to
, result
): void
Name | Type |
---|---|
from |
undefined | number |
to |
undefined | number |
result |
DChartCoordinateTransformMark | DChartCoordinateTransform <CHART > |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:120
▸ doFit_(pixelFrom
, pixelTo
, region
, result
): void
Name | Type |
---|---|
pixelFrom |
number |
pixelTo |
number |
region |
DChartRegion |
result |
DChartCoordinateTransformMark | DChartCoordinateTransform <CHART > |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:208
▸ fit(from?
, to?
): void
Adjusts the transform so that mapped points of the given range fit into the plot area if the plot area container’s localTransform is an identity matrix.
Name | Type | Description |
---|---|---|
from? |
number |
a lower end of the range |
to? |
number |
an upper end of the range |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:104
▸ getPixelDomain(plotArea
, result
): DChartRegion
Name | Type |
---|---|
plotArea |
DChartPlotArea <CHART > | DChartPlotAreaLike <CHART > |
result |
DChartRegion |
DChartCoordinateBase.getPixelDomain
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:152
▸ getPixelRange(plotArea
, result
): DChartRegion
Name | Type |
---|---|
plotArea |
DChartPlotArea <CHART > | DChartPlotAreaLike <CHART > |
result |
DChartRegion |
DChartCoordinateBase.getPixelRange
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:159
▸ getThemeDefault(): DThemeChartCoordinate
DChartCoordinateBase.getThemeDefault
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:296
▸ getType(): string
string
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:300
▸ map(value
): number
Transforms the given raw value to the untransformed value.
Name | Type | Description |
---|---|---|
value |
number |
a raw value |
number
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:245
▸ mapAll(values
, ifrom
, iend
, stride
, offset
): void
Transforms the given raw 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 [] |
raw 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-base.ts:249
▸ mark(from?
, to?
): void
Name | Type |
---|---|
from? |
number |
to? |
number |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:108
▸ newMark(): DChartCoordinateTransformMark
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:70
▸ newRegion(): DChartRegion
DChartCoordinateBase.newRegion
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:66
▸ newTick(options?
): DChartCoordinateTick
<CHART
>
Name | Type |
---|---|
options? |
DChartCoordinateTickOptions |
DChartCoordinateTick
<CHART
>
src/main/typescript/wcardinal/ui/d-chart-coordinate-linear.ts:14
▸ newTransform(options?
): DChartCoordinateTransform
<CHART
>
Name | Type |
---|---|
options? |
DChartCoordinateTransformOptions |
DChartCoordinateTransform
<CHART
>
DChartCoordinateBase.newTransform
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:58
▸ ticks(domainFrom
, domainTo
, domainVisibleFrom
, domainVisibleTo
, majorCount
, majorCapacity
, majorStep
, minorCountPerMajor
, minorCount
, minorStep
, majorResult
, minorResult
): void
Returns major / minor tick positions.
Name | Type | Description |
---|---|---|
domainFrom |
number |
domain lower bound |
domainTo |
number |
domain upper bound |
domainVisibleFrom |
number |
visible domain lower bound |
domainVisibleTo |
number |
visible domain upper bound |
majorCount |
number |
Expected major tick count |
majorCapacity |
number |
- |
majorStep |
undefined | number | DChartCoordinateTickMajorStepFunction |
- |
minorCountPerMajor |
number |
Expected minor tick count per major ticks |
minorCount |
number |
Expected total minor tick count |
minorStep |
undefined | number | DChartCoordinateTickMinorStepFunction |
- |
majorResult |
number [] |
majorResult.length must be larger than majorCount * 3 . |
minorResult |
number [] |
minorResult.length must be larger than minorCount * 3 . |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:261
▸ toFitDomain(from
, to
, plotArea
, result
): DChartRegion
Name | Type |
---|---|
from |
undefined | number |
to |
undefined | number |
plotArea |
DChartPlotArea <CHART > | DChartPlotAreaLike <CHART > |
result |
DChartRegion |
DChartCoordinateBase.toFitDomain
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:166
▸ toFitRange(from
, to
, plotArea
, result
): DChartRegion
Name | Type |
---|---|
from |
undefined | number |
to |
undefined | number |
plotArea |
DChartPlotArea <CHART > | DChartPlotAreaLike <CHART > |
result |
DChartRegion |
DChartCoordinateBase.toFitRange
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:187
▸ toTheme(options?
): DThemeChartCoordinate
Name | Type |
---|---|
options? |
DChartCoordinateOptions |
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:292
▸ unbind(): void
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:99
▸ unmap(value
): number
Transforms the given untransformed value to the raw value.
Name | Type | Description |
---|---|---|
value |
number |
an untransformed value |
number
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:253
▸ unmapAll(values
, ifrom
, iend
, stride
, offset
): void
Transforms the given untransformed values to raw 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 [] |
untrasformed values to be transformed |
ifrom |
number |
an index on raw values at which to begin a transformation |
iend |
number |
an index on raw values at which to begin a transformation |
stride |
number |
a stride of indices |
offset |
number |
an offset of indices |
void
src/main/typescript/wcardinal/ui/d-chart-coordinate-base.ts:257