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

Method valueAt

src/core/core.scale.js:860–860  ·  view source on GitHub ↗
(idx)

Source from the content-addressed store, hash-verified

858 const highest = heights.indexOf(highestLabelSize);
859
860 const valueAt = (idx) => ({width: widths[idx] || 0, height: heights[idx] || 0});
861
862 return {
863 first: valueAt(0),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected