Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ isHorizontal
Method
isHorizontal
src/plugins/plugin.legend.js:265–267 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
263
}
264
265
isHorizontal() {
266
return
this.options.position ===
'top'
|| this.options.position ===
'bottom'
;
267
}
268
269
draw() {
270
if
(this.options.display) {
Callers
5
setDimensions
Method · 0.95
fit
Method · 0.95
adjustHitBoxes
Method · 0.95
_draw
Method · 0.95
drawTitle
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected