Skip to content

Function: d3pRangePositions() ​

ts
function d3pRangePositions(
   data, 
   sx, 
   sy, 
   opts?
): D3PPlacedSeries;

Defined in: core/renderers/path.ts:42

Positions of the series in range units (pixels for a cartesian system, radians and distance for a polar one), skipping points the scales cannot place, or keeping them as gaps (gaps). With baseIndex, each point also carries the position of the base value of that column. Each point comes with its key, the x value it was placed from.

Parameters ​

data ​

readonly (readonly [any, number, any])[]

sx ​

D3PScale

sy ​

D3PScale

opts? ​

baseIndex? ​

number

gaps? ​

boolean

Returns ​

D3PPlacedSeries