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

Function useLegacyViewCoordSysCenterBase

src/coord/View.ts:837–844  ·  view source on GitHub ↗
(
    ecModel: GlobalModel,
    api: ExtensionAPI
)

Source from the content-addressed store, hash-verified

835}
836
837export function useLegacyViewCoordSysCenterBase(
838 ecModel: GlobalModel,
839 api: ExtensionAPI
840): ViewInner['lgCt'] {
841 return (api && ecModel && ecModel.getShallow('legacyViewCoordSysCenterBase'))
842 ? {w: api.getWidth(), h: api.getHeight()}
843 : null;
844}
845
846/**
847 * @see VIEW_COORD_SYS_ANIMATION_INTERRUPTION

Callers 2

createViewCoordSysSimplyFunction · 0.90
constructorMethod · 0.90

Calls 3

getShallowMethod · 0.80
getWidthMethod · 0.65
getHeightMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…