MCPcopy Index your code
hub / github.com/apache/echarts / createNormalBox

Function createNormalBox

src/chart/boxplot/BoxplotView.ts:177–197  ·  view source on GitHub ↗
(
    itemLayout: BoxplotItemLayout,
    data: SeriesData,
    dataIndex: number,
    constDim: number,
    isInit?: boolean
)

Source from the content-addressed store, hash-verified

175}
176
177function createNormalBox(
178 itemLayout: BoxplotItemLayout,
179 data: SeriesData,
180 dataIndex: number,
181 constDim: number,
182 isInit?: boolean
183) {
184 const ends = itemLayout.ends;
185
186 const el = new BoxPath({
187 shape: {
188 points: isInit
189 ? transInit(ends, constDim, itemLayout)
190 : ends
191 }
192 });
193
194 updateNormalBoxData(itemLayout, el, data, dataIndex, isInit);
195
196 return el;
197}
198
199function updateNormalBoxData(
200 itemLayout: BoxplotItemLayout,

Callers 1

renderMethod · 0.70

Calls 2

updateNormalBoxDataFunction · 0.85
transInitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…