MIF_E31220215/peramalanmovingaverage/public/assets/vendors/flot.orderbars
Nur Mita Upi Lestari 7c6f406794 First commit 2025-05-20 09:09:23 +07:00
..
examples First commit 2025-05-20 09:09:23 +07:00
js First commit 2025-05-20 09:09:23 +07:00
.bower.json First commit 2025-05-20 09:09:23 +07:00
README.md First commit 2025-05-20 09:09:23 +07:00

README.md

flot-orderBars

Fork of the Flot OrderBars plugin found here: http://www.benjaminbuffet.com/public/js/jquery.flot.orderBars.js

Improvements

Compatability with Flot Stack Plugin

The main improvement I've made is compatability with the Flot Stack plugin.

To use the 2 together:

  • Ensure that your data is well formed. Each series should contain a bars object with an order integer, like so:
  var series = [];
  
  series.push({
      data: [], // your raw data
      bars: {
          order: 0
      }
  });
  
  series.push({
      data: [], // your raw data
      bars: {
          order: 1
      }
  });
  • Ensure that the order bars plugin is loaded before the stack plugin.

See the example for more information.