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

Method isHorizontal

src/core/core.scale.js:760–763  ·  view source on GitHub ↗

* @return {boolean}

()

Source from the content-addressed store, hash-verified

758 * @return {boolean}
759 */
760 isHorizontal() {
761 const {axis, position} = this.options;
762 return position === 'top' || position === 'bottom' || axis === 'x';
763 }
764 /**
765 * @return {boolean}
766 */

Callers 12

getLabelsMethod · 0.95
updateMethod · 0.95
configureMethod · 0.95
setDimensionsMethod · 0.95
fitMethod · 0.95
_calculatePaddingMethod · 0.95
_tickSizeMethod · 0.95
_computeGridLineItemsMethod · 0.95
_computeLabelItemsMethod · 0.95
drawBorderMethod · 0.95
_maxDigitsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected