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

Function stepAOthers

src/component/brush/visualEncoding.ts:178–200  ·  view source on GitHub ↗
(
            seriesModel: SeriesModel, seriesIndex: number, rangeInfoList: BrushSelectableArea[]
        )

Source from the content-addressed store, hash-verified

176 }
177
178 function stepAOthers(
179 seriesModel: SeriesModel, seriesIndex: number, rangeInfoList: BrushSelectableArea[]
180 ): void {
181 if (!seriesModel.brushSelector || brushModelNotControll(brushModel, seriesIndex)) {
182 return;
183 }
184
185 zrUtil.each(areas, function (area) {
186 if (brushModel.brushTargetManager.controlSeries(area, seriesModel, ecModel)) {
187 rangeInfoList.push(area);
188 }
189 hasBrushExists = hasBrushExists || brushed(rangeInfoList);
190 });
191
192 if (linkOthers(seriesIndex) && brushed(rangeInfoList)) {
193 const data = seriesModel.getData();
194 data.each(function (dataIndex) {
195 if (checkInRange(seriesModel, rangeInfoList, data, dataIndex)) {
196 selectedDataIndexForLink[dataIndex] = 1;
197 }
198 });
199 }
200 }
201
202 // Step B
203 ecModel.eachSeries(function (seriesModel, seriesIndex) {

Callers 1

brushVisualFunction · 0.85

Calls 7

brushModelNotControllFunction · 0.85
brushedFunction · 0.85
linkOthersFunction · 0.85
checkInRangeFunction · 0.85
controlSeriesMethod · 0.80
getDataMethod · 0.65
eachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…