You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
christianesperar 5f94c42453 Add Flot plugin to bower 8 years ago
..
examples Add Flot plugin to bower 8 years ago
js Add Flot plugin to bower 8 years ago
.bower.json Add Flot plugin to bower 8 years ago
README.md Add Flot plugin to bower 8 years ago

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.