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

Function querySeries

src/animation/universalTransition.ts:676–684  ·  view source on GitHub ↗
(series: SeriesModel[], finder: UpdateLifecycleTransitionSeriesFinder)

Source from the content-addressed store, hash-verified

674}
675
676function querySeries(series: SeriesModel[], finder: UpdateLifecycleTransitionSeriesFinder) {
677 for (let i = 0; i < series.length; i++) {
678 const found = finder.seriesIndex != null && finder.seriesIndex === series[i].seriesIndex
679 || finder.seriesId != null && finder.seriesId === series[i].id;
680 if (found) {
681 return i;
682 }
683 }
684}
685
686function transitionSeriesFromOpt(
687 transitionOpt: UpdateLifecycleTransitionItem,

Callers 1

transitionSeriesFromOptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…