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

Function eachKeyEachAxis

src/coord/axisStatistics.ts:197–211  ·  view source on GitHub ↗
(
    ecModel: GlobalModel,
    cb: (
        perKeyPerAxis: AxisStatPerKeyPerAxis,
        axisStatKey: AxisStatKey,
        axisModelUid: AxisBaseModel['uid']
    ) => void
)

Source from the content-addressed store, hash-verified

195}
196
197function eachKeyEachAxis(
198 ecModel: GlobalModel,
199 cb: (
200 perKeyPerAxis: AxisStatPerKeyPerAxis,
201 axisStatKey: AxisStatKey,
202 axisModelUid: AxisBaseModel['uid']
203 ) => void
204): void {
205 const keyed = ecModelCacheFullUpdateInner(getCachePerECFullUpdate(ecModel)).keyed;
206 keyed && keyed.each(function (perKey, axisStatKey) {
207 perKey.each(function (perKeyPerAxis, axisModelUid) {
208 cb(perKeyPerAxis, axisStatKey, axisModelUid);
209 });
210 });
211}
212
213function wrapStatResult(record: AxisStatPerKeyPerAxis | NullUndefined): AxisStatisticsResult {
214 return {

Callers 2

getAxisStatBySeriesFunction · 0.85

Calls 3

getCachePerECFullUpdateFunction · 0.90
cbFunction · 0.50
eachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…