MCPcopy
hub / github.com/chartjs/Chart.js / isHorizontal

Method isHorizontal

src/plugins/plugin.title.js:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 isHorizontal() {
55 const pos = this.options.position;
56 return pos === 'top' || pos === 'bottom';
57 }
58
59 _drawArgs(offset) {
60 const {top, left, bottom, right, options} = this;

Callers 2

updateMethod · 0.95
_drawArgsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected