Skip to content

Documentation / @finchart/core / ValueCoordinates

Interface: ValueCoordinates

Defined in: packages/core/src/plot/capabilities.ts:228

이 pane의 화면 y와 을 오간다. XCoordinates의 값 쪽 짝이다.

yScale을 그대로 주지 않는 이유는 ScalesetDomain·setRange가 있어서다 — 확장이 값 축을 밀어 버릴 수 있으면 그건 좌표 변환기가 아니다.

소비자: @finchart/tools

Extended by

Properties

area

readonly area: PlotArea

Defined in: packages/core/src/plot/capabilities.ts:230

이 pane이 배분받은 자리. 히트 판정이 "안인가"를 묻는 기준이다.

Methods

pixelAtValue()

pixelAtValue(value): number

Defined in: packages/core/src/plot/capabilities.ts:234

값이 놓이는 화면 y(px).

Parameters

value

number

Returns

number


valueAt()

valueAt(pixel): number

Defined in: packages/core/src/plot/capabilities.ts:232

화면 y(px)의 값.

Parameters

pixel

number

Returns

number