PHP Classes

File: vendors/gentelella/vendors/flot.orderbars/README.md

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/flot.orderbars/README.md   Download  
File: vendors/gentelella/vendors/flot.orderbars/README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 841 bytes
 

Contents

Class file image Download

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.