Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/palantir/plottable
/ getRelventAttrFromPoint
Function
getRelventAttrFromPoint
test/components/dragLineLayerTests.ts:118–120 ·
view source on GitHub ↗
(point: Plottable.Point)
Source
from the content-addressed store, hash-verified
116
}
117
118
function
getRelventAttrFromPoint(point: Plottable.Point) {
119
return
orientation ===
"vertical"
? point.x : point.y;
120
}
121
122
it(
"shows the correct cursor"
, () => {
123
dll.renderTo(div);
Callers
1
dragLineLayerTests.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected