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

Method dependsOn

src/visual/VisualMapping.ts:462–466  ·  view source on GitHub ↗

* 'color', 'colorSaturation', 'colorAlpha', ... are depends on 'color'. * Other visuals are only depends on themself.

(visualType1: BuiltinVisualProperty, visualType2: BuiltinVisualProperty)

Source from the content-addressed store, hash-verified

460 * Other visuals are only depends on themself.
461 */
462 static dependsOn(visualType1: BuiltinVisualProperty, visualType2: BuiltinVisualProperty) {
463 return visualType2 === 'color'
464 ? !!(visualType1 && visualType1.indexOf(visualType2) === 0)
465 : visualType1 === visualType2;
466 }
467
468 /**
469 * @param value

Callers 1

getControllerVisualMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected