Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

comparison of flot versus google charts

I am starting up a website that needs a lot of sophisticated multi line charts. I see two top candidates for the job

  1. Flot
  2. Google Charts

Does anyone have any recommendations or preferences on this decision?

like image 932
leora Avatar asked Feb 15 '10 13:02

leora


People also ask

Does Google charts use D3?

Advantages of D3.This is not possible in Google Charts, where you can only create frequently used charts like bar, line, column, etc. While some of the Google Charts do not support a large amount of data and have some limit, D3.

How do I use Google charts?

The most common way to use Google Charts is with simple JavaScript that you embed in your web page. You load some Google Chart libraries, list the data to be charted, select options to customize your chart, and finally create a chart object with an id that you choose.

How do you show no data available on Google chart?

Use noData() method to enable "No data" label: chart. noData().


1 Answers

  • Google charts: You will need to call out to google every time you need to plot. Is it acceptable to do this from your website?

  • Control: Flot is the clear winner in this category, as you have a very high degree of control over plots. Also, Flot is pretty fast! I have used it personally, and once you get the hang of the API, it is great. Further, there are many 'plugins' that can be written (and some are available) for flot. I think this is a great feature.

Overall, I would vote for Flot.

  • Edit: Also look at http://www.highcharts.com/, a great charting library (if you can figure out the licensing).
like image 119
rmk Avatar answered Oct 11 '22 16:10

rmk