View on GitHub

jquery.flot.bubbles.js

Flot plugin to create bubble charts

Download this project as a .zip file Download this project as a tar.gz file

Example

Docs

var d1 = [[20,20,10], [40,50,20], [70,10,5], [80,80,15]];
var d2 = [[60,25,15], [70,40,6], [30,80,4]];
var options = { 
    series: {
        //color: '#CCC',
        color: function(x, y, value) {
            var red = 55 + value * 10;
            return 'rgba('+red+',50,50,1)';
        },
        bubbles: {
            active: true,
            show: true,
            fill: true,
            linewidth: 2,
            bubblelabel: { show: true }
        }
    },
    grid:{
        hoverable: true,
        clickable: true
    },
    tooltip:{
        show: true,
        content: "x: %x | y: %y | value: %ct"
    }
};
var p4 = $.plot( $("#plot"), [ d1, { color: '#AAA', data: d2 }], options );

Options

Simple

With Label

Userdefined Drawing

Editing

License

Licensed under MIT

This plugin is based on a plugin by Juergen Marsch

Versions

0.3.0

0.3.1

0.3.2

0.3.3

0.4.0

0.4.1

0.4.2