Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369715 - Consider Google Charts API as charting replacement
Summary: Consider Google Charts API as charting replacement
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 13:00 EST by Danny Thomas CLA
Modified: 2012-01-25 16:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Thomas CLA 2012-01-25 13:00:27 EST
Build Identifier: Hudson ver. 3.0.0-M0

I believe JFreeChart was removed due to it's LGPL license and replaced. The charts in M0 aren't nearly as usable and IMO rather than going to the effort of shoe horning a static chart library, the time would be better spent providing interactive, rich charts using the Google Charts API:

http://code.google.com/apis/chart/interactive/docs/index.html

The annotated timeline for instance, would make and excellent all-in-one replacement for the build trend/build time data:

http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html

Reproducible: Didn't try
Comment 1 Danny Thomas CLA 2012-01-25 13:26:34 EST
Oh, I'll add that a downside is that it's online only - you can't host the API yourself, so you'd still need fallback charting... I'll look at a proof of concept if I have some spare time.
Comment 2 Winston Prakash CLA 2012-01-25 16:06:29 EST
One good thing came out of removing JFreeChart due to LGPL is abstraction of Charting functionality and exposing it as an Extension Point.  JFreechart is still available as a plugin. I have written the BIRT Chart plugin as a replacement for JFreeChart, but it is possible to remove the BIRT Chart plugin and install the JFreeChart plugin and get the exact functionality as before.
 
Could you please list the short comings of BIRT Chart plugin. Unfortunately the BIRT Chart API are not as rich as JFreechart.

I have used Google Chart for creating Hudson download statistics etc and I like it because of its simplicity. Writing a Hudson Charting plugin using Google Chart may be easy.  As you mentioned, I chose BIRT Chart mainly because Google Chart is online only.