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

Method _resolveTickFontOptions

src/core/core.scale.js:1698–1701  ·  view source on GitHub ↗

* @param {number} index * @return {object} * @protected

(index)

Source from the content-addressed store, hash-verified

1696 * @protected
1697 */
1698 _resolveTickFontOptions(index) {
1699 const opts = this.options.ticks.setContext(this.getContext(index));
1700 return toFont(opts.font);
1701 }
1702
1703 /**
1704 * @protected

Callers 5

_computeLabelSizesMethod · 0.95
_computeLabelItemsMethod · 0.95
_maxDigitsMethod · 0.95
computeTickLimitMethod · 0.80
_getLabelSizeMethod · 0.80

Calls 3

getContextMethod · 0.95
toFontFunction · 0.85
setContextMethod · 0.80

Tested by

no test coverage detected