Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
487
function
restrict(len: number, extent: number[]): number {
488
return
mathMin(mathMax(len, extent[0]), extent[1]);
489
}
490
491
interface
ParallelAxisLayoutPositionInfo {
492
position: number;
Callers
1
_makeLayoutInfo
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected