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

Method eachTargetSeries

src/component/visualMap/VisualMapModel.ts:310–320  ·  view source on GitHub ↗

* @public

(
        callback: (this: Ctx, series: SeriesModel) => void,
        context?: Ctx
    )

Source from the content-addressed store, hash-verified

308 * @public
309 */
310 eachTargetSeries<Ctx>(
311 callback: (this: Ctx, series: SeriesModel) => void,
312 context?: Ctx
313 ) {
314 zrUtil.each(this.getTargetSeriesIndices(), function (seriesIndex) {
315 const seriesModel = this.ecModel.getSeriesByIndex(seriesIndex);
316 if (seriesModel) {
317 callback.call(context, seriesModel);
318 }
319 }, this);
320 }
321
322 /**
323 * @pubilc

Callers 4

isTargetSeriesMethod · 0.95
renderMethod · 0.80
findTargetDataIndicesMethod · 0.80
findTargetDataIndicesMethod · 0.80

Calls 3

getSeriesByIndexMethod · 0.80
eachMethod · 0.45

Tested by

no test coverage detected