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

Function addBodyEnd

src/chart/boxplot/boxplotLayout.ts:173–181  ·  view source on GitHub ↗
(ends: number[][], point: number[], start?: boolean)

Source from the content-addressed store, hash-verified

171 }
172
173 function addBodyEnd(ends: number[][], point: number[], start?: boolean) {
174 const point1 = point.slice();
175 const point2 = point.slice();
176 point1[cDimIdx] += halfWidth;
177 point2[cDimIdx] -= halfWidth;
178 start
179 ? ends.push(point1, point2)
180 : ends.push(point2, point1);
181 }
182
183 function layEndLine(ends: number[][], endCenter: number[]) {
184 const from = endCenter.slice();

Callers 1

layoutSingleSeriesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…