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

Function restrict

src/coord/parallel/Parallel.ts:487–489  ·  view source on GitHub ↗
(len: number, extent: number[])

Source from the content-addressed store, hash-verified

485
486
487function restrict(len: number, extent: number[]): number {
488 return mathMin(mathMax(len, extent[0]), extent[1]);
489}
490
491interface ParallelAxisLayoutPositionInfo {
492 position: number;

Callers 1

_makeLayoutInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected