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

Function visualMapActionHander

src/component/visualMap/visualMapAction.ts:31–35  ·  view source on GitHub ↗
(payload: Payload, ecModel: GlobalModel)

Source from the content-addressed store, hash-verified

29};
30
31export const visualMapActionHander = function (payload: Payload, ecModel: GlobalModel) {
32 ecModel.eachComponent({mainType: 'visualMap', query: payload}, function (model) {
33 (model as VisualMapModel).setSelected(payload.selected);
34 });
35};

Callers

nothing calls this directly

Calls 2

eachComponentMethod · 0.80
setSelectedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…