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

Function progress

src/chart/candlestick/candlestickVisual.ts:64–77  ·  view source on GitHub ↗
(params, data)

Source from the content-addressed store, hash-verified

62 const isLargeRender = seriesModel.pipelineContext.large;
63 return !isLargeRender && {
64 progress(params, data) {
65 let dataIndex;
66 while ((dataIndex = params.next()) != null) {
67 const itemModel = data.getItemModel(dataIndex);
68 const sign = data.getItemLayout(dataIndex).sign;
69
70 const style = itemModel.getItemStyle();
71 style.fill = getColor(sign, itemModel);
72 style.stroke = getBorderColor(sign, itemModel) || style.fill;
73
74 const existsStyle = data.ensureUniqueItemVisual(dataIndex, 'style');
75 extend(existsStyle, style);
76 }
77 }
78 };
79
80

Callers

nothing calls this directly

Calls 8

getColorFunction · 0.85
getBorderColorFunction · 0.85
extendFunction · 0.85
nextMethod · 0.80
getItemModelMethod · 0.80
getItemLayoutMethod · 0.80
getItemStyleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…