Skip to content

Documentation / @finchart/core / index / PaneDrawContext

Interface: PaneDrawContext ​

Defined in: packages/core/src/plot/pane.ts:49

What a Pane needs from the outside to draw. yScale and area use its own.

There's no data here. Each registration holds its own data and slices it with its own manager, so all that needs to come from outside is "what are we looking at."

Properties ​

formatX ​

formatX: ValueFormat

Defined in: packages/core/src/plot/pane.ts:59

The x notation the chart resolved — flows into the decoration context.


readStyle ​

readStyle: StyleReader

Defined in: packages/core/src/plot/pane.ts:55

Built once per render and shared by every series.


ticks ​

ticks: object

Defined in: packages/core/src/plot/pane.ts:57

Ticks computed once. The y ticks belong to this pane.

x ​

x: Tick[]

y ​

y: Tick[]


viewport ​

viewport: Viewport

Defined in: packages/core/src/plot/pane.ts:51

What each registration slices its own data against.


x ​

x: XMapping

Defined in: packages/core/src/plot/pane.ts:53

Where a point's x lands on screen. Series and decorations see the same one.