MCPcopy
hub / github.com/apache/echarts / getPoint

Function getPoint

src/chart/candlestick/candlestickLayout.ts:135–142  ·  view source on GitHub ↗
(val: number, axisDimVal: number)

Source from the content-addressed store, hash-verified

133 }
134
135 function getPoint(val: number, axisDimVal: number) {
136 const p = [];
137 p[cDimIdx] = axisDimVal;
138 p[vDimIdx] = val;
139 return (isNaN(axisDimVal) || isNaN(val))
140 ? [NaN, NaN]
141 : coordSys.dataToPoint(p);
142 }
143
144 function addBodyEnd(ends: number[][], point: number[], start: number) {
145 const point1 = point.slice();

Callers 2

normalProgressFunction · 0.70
makeBrushRectFunction · 0.70

Calls 1

dataToPointMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…