MCPcopy
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

setDimensionsMethod · 0.95
fitMethod · 0.95
adjustHitBoxesMethod · 0.95
_drawMethod · 0.95
drawTitleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected