MCPcopy Create free account
hub / github.com/chartjs/Chart.js / _resolveTickFontOptions

Method _resolveTickFontOptions

src/core/core.scale.js:1702–1705  ·  view source on GitHub ↗

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

(index)

Source from the content-addressed store, hash-verified

1700 * @protected
1701 */
1702 _resolveTickFontOptions(index) {
1703 const opts = this.options.ticks.setContext(this.getContext(index));
1704 return toFont(opts.font);
1705 }
1706
1707 /**
1708 * @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