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

Method constructor

src/component/helper/BrushTargetManager.ts:100–112  ·  view source on GitHub ↗

* @param finder contains Index/Id/Name of xAxis/yAxis/geo/grid * Each can be {number|Array. }. like: {xAxisIndex: [3, 4]} * @param opt.include include coordinate system types.

(
        finder: ModelFinderObject,
        ecModel: GlobalModel,
        opt?: {include?: BrushTargetBuilderKey[]}
    )

Source from the content-addressed store, hash-verified

98 * @param opt.include include coordinate system types.
99 */
100 constructor(
101 finder: ModelFinderObject,
102 ecModel: GlobalModel,
103 opt?: {include?: BrushTargetBuilderKey[]}
104 ) {
105 const foundCpts = parseFinder(ecModel, finder);
106
107 each(targetInfoBuilders, (builder, type) => {
108 if (!opt || !opt.include || indexOf(opt.include, type) >= 0) {
109 builder(foundCpts, this._targetInfoList);
110 }
111 });
112 }
113
114 setOutputRanges(
115 areas: BrushControllerEvents['brush']['areas'],

Callers

nothing calls this directly

Calls 2

parseFinderFunction · 0.90
eachFunction · 0.50

Tested by

no test coverage detected