Skip to content

xProj

xProj(scale, plotArea, t?): (value) => number

Defined in: core/draw.ts:53

Build a value → x pixel projection for a horizontal chart whose X axis runs left→right across plotArea.w.

Parameters

scale

NiceScale

plotArea

PlotArea

t?

number = 1

Returns

(value) => number