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

Function progress

src/chart/parallel/parallelVisual.ts:42–54  ·  view source on GitHub ↗
(params, data)

Source from the content-addressed store, hash-verified

40
41 return {
42 progress(params, data) {
43 coordSys.eachActiveState(data, function (activeState, dataIndex) {
44 let opacity = opacityMap[activeState];
45 if (activeState === 'normal' && data.hasItemOption) {
46 const itemOpacity = data.getItemModel<ParallelSeriesOption>(dataIndex).get(
47 opacityAccessPath, true
48 );
49 itemOpacity != null && (opacity = itemOpacity);
50 }
51 const existsStyle = data.ensureUniqueItemVisual(dataIndex, 'style');
52 existsStyle.opacity = opacity;
53 }, params.start, params.end);
54 }
55 };
56 }
57};

Callers

nothing calls this directly

Calls 4

eachActiveStateMethod · 0.80
getItemModelMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…