score:0

Use multiChart. To get the bars side by side set yAxis: 1 on both bar data sets.

https://github.com/novus/nvd3/blob/master/examples/multiChart.html (the repo examples cover more then the website)

score:4

I found the answer:

you can change the stacked value in the callback() event handler, specified in your config:

chart: {
            type: 'multiChart',
...
            callback: function (chart) {
                chart.bars1.stacked(true);
                chart.bars2.stacked(true);
                chart.update();
            },
...
        }
    };

Related Query

More Query from same tag