Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/palantir/plottable
/ isDomainReversed
Function
isDomainReversed
src/interactions/panZoomConstraints.ts:183–186 ·
view source on GitHub ↗
(scale: TransformableScale<any, number>)
Source
from the content-addressed store, hash-verified
181
}
182
183
function
isDomainReversed(scale: TransformableScale<any, number>) {
184
const
domain = scale.getTransformationDomain();
185
return
domain[1] < domain[0];
186
}
Callers
1
constrainZoomValues
Function · 0.85
Calls
1
getTransformationDomain
Method · 0.65
Tested by
no test coverage detected