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

Function points

docs/scripts/utils.js:44–48  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

42}
43
44export function points(config) {
45 const xs = this.numbers(config);
46 const ys = this.numbers(config);
47 return xs.map((x, i) => ({x, y: ys[i]}));
48}
49
50export function bubbles(config) {
51 return this.points(config).map(pt => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected