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

Function getBeforeAfterBodyLines

src/plugins/plugin.tooltip.js:380–382  ·  view source on GitHub ↗

* Helper to build before and after body lines

(callback)

Source from the content-addressed store, hash-verified

378 * Helper to build before and after body lines
379 */
380function getBeforeAfterBodyLines(callback) {
381 return pushOrConcat([], splitNewlines(callback));
382}
383
384function createTooltipContext(parent, tooltip, tooltipItems) {
385 return createContext(parent, {

Callers 2

getBeforeBodyMethod · 0.85
getAfterBodyMethod · 0.85

Calls 2

pushOrConcatFunction · 0.85
splitNewlinesFunction · 0.85

Tested by

no test coverage detected