A waterfall chart where each bar is covered by a stacked Bar chart so it
looks like the Waterfall chart is a stacked variation. The chart is using
the labelsAbove
option which have been given a dark background
color in order to make them more readable.
<script src="RGraph.svg.common.core.js"></script> <script src="RGraph.svg.waterfall.js"></script> <script src="RGraph.svg.bar.js"></script>Put this where you want the chart to show up:
<div style="width: 800px; height: 300px" id="chart-container"></div>This is the code that generates the chart: