MCPcopy Create free account
hub / github.com/apache/echarts / resize

Method resize

src/coord/parallel/Parallel.ts:174–179  ·  view source on GitHub ↗

* Resize the parallel coordinate system.

(parallelModel: ParallelModel, api: ExtensionAPI)

Source from the content-addressed store, hash-verified

172 * Resize the parallel coordinate system.
173 */
174 resize(parallelModel: ParallelModel, api: ExtensionAPI): void {
175 const refContainer = layoutUtil.createBoxLayoutReference(parallelModel, api).refContainer;
176 this._rect = layoutUtil.getLayoutRect(parallelModel.getBoxLayoutParams(), refContainer);
177
178 this._layoutAxes();
179 }
180
181 getRect(): graphic.BoundingRect {
182 return this._rect;

Callers 1

createParallelCoordSysFunction · 0.95

Calls 2

_layoutAxesMethod · 0.95
getBoxLayoutParamsMethod · 0.80

Tested by

no test coverage detected