Chartjs-Chart.js how can we have a column not start at 0

0👍

This is a waterfall chart, which is not available in Chart.js. See the issue on Github.

However, someone has made such a plugin for Chart.js, available here.

Usage of this plugin is simple, like so:

import waterFallPlugin from 'chartjs-plugin-waterfall';

var chart = new Chart(ctx, {
    plugins: [waterFallPlugin]
});

Leave a comment