* @public
(
callback: (this: Ctx, series: SeriesModel) => void,
context?: Ctx
)
| 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 |
no test coverage detected