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

Function viewCoordSysSetBoundingRect

src/coord/View.ts:446–455  ·  view source on GitHub ↗
(
    viewCoordSys: View,
    x: number, y: number, width: number, height: number
)

Source from the content-addressed store, hash-verified

444 * @see ViewInner['dataRect']
445 */
446export function viewCoordSysSetBoundingRect(
447 viewCoordSys: View,
448 x: number, y: number, width: number, height: number
449): void {
450 const viewInner = inner(viewCoordSys);
451 viewInner.dataRect = new BoundingRect(x, y, width, height);
452 if (viewCoordSysIsInputReady(viewInner)) {
453 viewCoordSysUpdateTransform(viewInner);
454 }
455}
456
457/**
458 * @see ViewInner['viewRect']

Callers 4

_dealRenderContentMethod · 0.90
createViewCoordSysSimplyFunction · 0.90
resizeGeoFunction · 0.90
constructorMethod · 0.90

Calls 3

innerFunction · 0.85
viewCoordSysIsInputReadyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…