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

Method eachSeries

src/model/Global.ts:800–809  ·  view source on GitHub ↗

* After filtering, series may be different * from raw series.

(
        cb: (this: T, series: SeriesModel, rawSeriesIndex: number) => void,
        context?: T
    )

Source from the content-addressed store, hash-verified

798 * from raw series.
799 */
800 eachSeries<T>(
801 cb: (this: T, series: SeriesModel, rawSeriesIndex: number) => void,
802 context?: T
803 ): void {
804 assertSeriesInitialized(this);
805 each(this._seriesIndices, function (rawSeriesIndex) {
806 const series = this._componentsMap.get('series')[rawSeriesIndex] as SeriesModel;
807 cb.call(context, series, rawSeriesIndex);
808 }, this);
809 }
810
811 /**
812 * Iterate raw series before filtered.

Callers 15

updateTransformMethod · 0.80
updateTransformMethod · 0.80
renderFunction · 0.80
updateZFunction · 0.80
updateTransformMethod · 0.80
_mergeOptionFunction · 0.80
brushVisualFunction · 0.80
_updateBridgeMethod · 0.80
collectSeriesInfoFunction · 0.80
getTargetSeriesModelsMethod · 0.80
EChartsClass · 0.80

Calls 2

eachFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected