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

Function ensureScaleStore

src/coord/scaleRawExtentInfo.ts:487–493  ·  view source on GitHub ↗

* NOTE: `associateSeriesWithAxis` is not necessarily called, e.g., when * an axis is not used by any series.

(axisLike: {scale: Scale})

Source from the content-addressed store, hash-verified

485 * an axis is not used by any series.
486 */
487function ensureScaleStore(axisLike: {scale: Scale}) {
488 const store = scaleInner(axisLike.scale);
489 if (!store.extent) {
490 store.extent = initExtentForUnion();
491 }
492 return store;
493}
494
495/**
496 * This supports union extent on case like: pie (or other similar series)

Calls 1

initExtentForUnionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…