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

Function setInflateAmount

src/controllers/controller.bar.js:252–256  ·  view source on GitHub ↗
(properties, {inflateAmount}, ratio)

Source from the content-addressed store, hash-verified

250}
251
252function setInflateAmount(properties, {inflateAmount}, ratio) {
253 properties.inflateAmount = inflateAmount === 'auto'
254 ? ratio === 1 ? 0.33 : 0
255 : inflateAmount;
256}
257
258export default class BarController extends DatasetController {
259

Callers 1

updateElementsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected