Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi bar chat with Flot

Any sample code for chart with multiple bars using flot ??alt text

similar to this example . The given patched files are not working for me. Anywhere I can download the latest files for multi bar graph.

Update

I am sure Flot is a very good library but plugins/add-ons are not available easily and the examples given on the website are very basic, so I decided to use jqPlot instead

like image 938
user431514 Avatar asked Aug 26 '10 07:08

user431514


People also ask

What is a Flot chart?

Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features. Works with Internet Explorer 6+, Chrome, Firefox 2+, Safari 3+ and Opera 9.5+ Development. Additional examples are bundled with Flot.

What is multi set bar chart?

Multi-set bar charts, also known as clustered bar charts, are a variation of a bar chart where two or more data sets are plotted side by side along a common axis. These are used to compare variables within the same category, and thus provide more information than a simple bar chart.

What is chart stacking?

A stacked chart is a form of bar chart that shows the composition and comparison of a few variables, either relative or absolute, over time. Also called a stacked bar or column chart, they look like a series of columns or bars that are stacked on top of each other.


2 Answers

Updated Info: Andión's answer makes reference to this library. Bars-side-by-side

You can download the code here: http://www.benjaminbuffet.com/public/js/jquery.flot.orderBars.js

The result is : http://i.stack.imgur.com/7X76o.png

like image 164
pmking Avatar answered Oct 04 '22 06:10

pmking


Have you tried the orderBars plugin? Flot orderBars plugin

You can download the code here

like image 26
Andión Avatar answered Oct 04 '22 05:10

Andión