MCPcopy Create free account
hub / github.com/apache/echarts / resetVisual

Method resetVisual

src/component/visualMap/VisualMapModel.ts:235–247  ·  view source on GitHub ↗

* @protected

(
        supplementVisualOption: (this: this, mappingOption: VisualMappingOption, state: string) => void
    )

Source from the content-addressed store, hash-verified

233 * @protected
234 */
235 resetVisual(
236 supplementVisualOption: (this: this, mappingOption: VisualMappingOption, state: string) => void
237 ) {
238 const stateList = this.stateList;
239 supplementVisualOption = zrUtil.bind(supplementVisualOption, this);
240
241 this.controllerVisuals = visualSolution.createVisualMappings(
242 this.option.controller, stateList, supplementVisualOption
243 );
244 this.targetVisuals = visualSolution.createVisualMappings(
245 this.option.target, stateList, supplementVisualOption
246 );
247 }
248
249 /**
250 * @public

Callers 2

optionUpdatedMethod · 0.80
optionUpdatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected