MCPcopy
hub / github.com/chartjs/Chart.js / getBeforeAfterBodyLines

Function getBeforeAfterBodyLines

src/plugins/plugin.tooltip.js:344–346  ·  view source on GitHub ↗

* Helper to build before and after body lines

(callback)

Source from the content-addressed store, hash-verified

342 * Helper to build before and after body lines
343 */
344function getBeforeAfterBodyLines(callback) {
345 return pushOrConcat([], splitNewlines(callback));
346}
347
348function createTooltipContext(parent, tooltip, tooltipItems) {
349 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