rapadura
rapadura

Reputation: 5300

Best way to provide charts on the web? Server-side or client-side library? HTML5?

What would you sugges to provide a chart (line-based) on the web? I need to make something similar to a burn-down chart or stocks over time. The server side is django and using jquery for the client stuff.

What are the advantages to using something like pychart or some other python plot library which can produce an svg or png and display it?

Or providing the data in tables and using visualize or highchart for jquery to make generate the chart using javascript?

I would like to put points on the chart which are clickable, or which show more information on the specific turn.

What options are available with HTML5, does it come with builtin support for charts or do I have to do it with canvas only?

Thanks for your help.

Edit/Update. Thanks all for the suggestions.

Upvotes: 8

Views: 5094

Answers (6)

Giacomo
Giacomo

Reputation: 11247

Client-side charts have the advantage that can be manipulated by the user, but need client-side support for the technology that is used to implement the charts.

HTML5 charts:

Upvotes: 7

Spacedman
Spacedman

Reputation: 94202

Server-side charts generated as PNGs will be fixed in size, not very interactive etc. Client-side charts can stretch, be interactive etc. If you have a fast server you can generate charts with lots of complexity, complex charts on the client may be very slow to display.

I favour client-side charts at the moment. I have been using Flot, but am currently wowing over Protovis. drool

Upvotes: 1

Gregg
Gregg

Reputation: 35864

I really like Flot

http://code.google.com/p/flot/

Upvotes: 1

EvilMM
EvilMM

Reputation: 901

After testing many charting tools, we are finally using Highcharts and Emprise JavaScript Chartings. Great Tools, not expensive.

Upvotes: 4

benhowdle89
benhowdle89

Reputation: 37464

I use pChart. its a charting library for use with PHP, it works very well with mysql and you query the mysql db from inside the pChart code. Other nice ones are Flot and Fusion Charts

Upvotes: 1

Related Questions