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

Function fontString

src/helpers/helpers.extras.ts:7–9  ·  view source on GitHub ↗
(pixelSize: number, fontStyle: string, fontFamily: string)

Source from the content-addressed store, hash-verified

5import {isNullOrUndef} from './helpers.core.js';
6
7export function fontString(pixelSize: number, fontStyle: string, fontFamily: string) {
8 return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;
9}
10
11/**
12* Request animation polyfill

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected