O'Reilly logo

Learning jqPlot by Scott Gottreu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a waterfall chart showing expenses against revenue

While we were completing our research, Roshan and Sara sent us the numbers. With everything we need, we get started executing the following steps:

  1. To make a waterfall chart, we need to include the barRenderer plugin file. Tooltips do not work with negative values on waterfall charts, so we include the pointLabels plugin file, and we also add the categoryAxisRenderer plugin file:
    <script src="../js/jqplot.barRenderer.min.js"></script> <script src="../js/jqplot.pointLabels.min.js"></script> <script src="../js/jqplot.categoryAxisRenderer.min.js"></script> <script src="../js/jqplot.canvasTextRenderer.min.js"></script> <script src="../js/jqplot.canvasAxisTickRenderer.min.js"></script> <script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required