Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/echarts
/ isCenterAlign
Function
isCenterAlign
src/component/tooltip/TooltipView.ts:1205–1207 ·
view source on GitHub ↗
(align: HorizontalAlign | VerticalAlign)
Source
from the content-addressed store, hash-verified
1203
}
1204
1205
function
isCenterAlign(align: HorizontalAlign | VerticalAlign) {
1206
return
align ===
'center'
|| align ===
'middle'
;
1207
}
1208
1209
/**
1210
* Find target component by payload like:
Callers
1
_updatePosition
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected