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

Method getLayout

src/coord/matrix/MatrixDim.ts:406–410  ·  view source on GitHub ↗
(outRect: RectLike, dimIdx: number, locator: MatrixXYLocator)

Source from the content-addressed store, hash-verified

404 }
405
406 getLayout(outRect: RectLike, dimIdx: number, locator: MatrixXYLocator): void {
407 const layout = this.getUnitLayoutInfo(dimIdx, locator);
408 outRect[XY[dimIdx]] = layout ? layout.xy : NaN;
409 outRect[WH[dimIdx]] = layout ? layout.wh : NaN;
410 }
411
412 /**
413 * Get leaf cell or get level info.

Callers

nothing calls this directly

Calls 1

getUnitLayoutInfoMethod · 0.95

Tested by

no test coverage detected