Skip to content

gjunming/flot-plugins

 
 

Repository files navigation

Flot.js plugin for bubble charting

Example: ubermajestix.com/flot/bubble

code.google.com/p/flot

To activate bubbles:

plot = $.plot($("#placeholder"), [
  // data needs to be in the form [x,y,z] where z is the radius of the point
  { data: [[1,2,10],[4,6,8],[3,1,4]], color: '#A1FDFF', label: 'boom' }
  ],
  {
    series: {
      bubble: true, // set this to true to activate bubbles, otherwise your data will be plotted as points
      points: { show: true }, // bubbles will only work with point charts, the plugin will NOT attempt to bubble a bar chart
      lines:  { show: true } // the bubble plugin supports connecting bubbles in a series with lines 
    },
  }
);

About

various plugins for the flot.js charting library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published