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

Function isFloatBar

src/controllers/controller.bar.ts:296–298  ·  view source on GitHub ↗
(custom: BarCustom | undefined)

Source from the content-addressed store, hash-verified

294}
295
296function isFloatBar(custom: BarCustom | undefined) {
297 return custom && custom.barStart !== undefined && custom.barEnd !== undefined;
298}
299
300function barSign(size: number, vScale: BarScale, actualBase: number) {
301 if (size !== 0) {

Callers 3

getLabelAndValueMethod · 0.85
updateElementsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected