Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » chart tools for RAP
chart tools for RAP [message #1044259] Thu, 18 April 2013 17:25 Go to next message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 66
Registered: November 2011
Location: Berlin, Germany
Member
I'm looking for a nice tool or widged that can generate and display charts. If possible with tooltips at data points and dynamic, so the user can resize or zoom it.

In RCP applications we embed the AWT libary jFreeChart (www.jfree.org), which provides great functionality but unfortunately does not work in RAP.

The google widges from the RAP incubator page look promissing, but their demo does not run under RAP 2.0 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=405552).

Does the RAP community have any advices for me about what chart tools I could use?

Thanks!
Re: chart tools for RAP [message #1044366 is a reply to message #1044259] Thu, 18 April 2013 20:42 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 133
Registered: July 2009
Senior Member
I have worked with several chart libraries (including the Google widgets in the incubator). The best solution I have found is to use a Browser widget to display html output from a chart library. That could either be a JavaScript library (e.g., d3js), or a Java library (e.g., jFreeChart, I have used ChartDirector[1], or BIRT[2]). ChartDirector uses HTML image maps and/or JavaScript to add interactivity. See this stackoverlow question on using jFreeChart in a web application[3]. You could use a ServiceHandler or custom Servlet to send the chart image. One advantage of using a Browser-based solution is that if designed properly it will work in RCP as well. When I get some time, I'll try to write a short tutorial.

[1] http://www.advsofteng.com/
[2] http://wiki.eclipse.org/RAP/FAQ#How_to_integrate_BIRT.3F
[3] http://stackoverflow.com/questions/1975208/how-can-i-display-a-jfreechart-in-web-browser-with-stripes-framework


Hope that helps,

Cole Markham
Re: chart tools for RAP [message #1046498 is a reply to message #1044366] Mon, 22 April 2013 02:00 Go to previous messageGo to next message
ocean xue is currently offline ocean xueFriend
Messages: 107
Registered: November 2011
Senior Member
about application chartDirector, tutorial?
Re: chart tools for RAP [message #1086581 is a reply to message #1046498] Wed, 14 August 2013 11:39 Go to previous messageGo to next message
Johns Robert is currently offline Johns RobertFriend
Messages: 1
Registered: August 2013
Location: 805 SW Broadway # 480, Po...
Junior Member
There is a massive entry in market in terms of graphical representation which is in addition to 3D charting with support of html5 chart [URL removed].

[Updated on: Thu, 05 December 2013 18:18] by Moderator

Report message to a moderator

Re: chart tools for RAP [message #1088161 is a reply to message #1044259] Fri, 16 August 2013 17:26 Go to previous messageGo to next message
Milko Krastev is currently offline Milko KrastevFriend
Messages: 17
Registered: July 2013
Junior Member
I bumped into the same problem just two months ago. JFreeChart is great, but the only way to make it work is on the server. That means you generate some snapshot image and send it the client. Which generates lot of traffic even if you want the most basic form of interactivity. Besides, it consumes too much server resources.

The way to go is to embed a Javascript charting library into a Browser widget. There are literary tens of such libraries. Two more notable examples are Highcharts and AMCharts.
Re: chart tools for RAP [message #1089795 is a reply to message #1088161] Mon, 19 August 2013 08:55 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 387
Registered: July 2009
Senior Member
Hi.

My colleague started a simple charting widget based on d3 for RAP:
https://github.com/ralfstx/rap-d3charts

Greetings,
Tim

Am 16.08.2013 19:26, schrieb Milko Krastev:
> I bumped into the same problem just two months ago. JFreeChart is great,
> but the only way to make it work is on the server. That means you
> generate some snapshot image and send it the client. Which generates lot
> of traffic even if you want the most basic form of interactivity.
> Besides, it consumes too much server resources.
> The way to go is to embed a Javascript charting library into a Browser
> widget. There are literary tens of such libraries. Two more notable
> examples are Highcharts and AMCharts.

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Adding a MouseMove Listener to a Remote Object-based Custom Widget
Next Topic:How to set the text in table or tree cell to wrap?
Goto Forum:
  


Current Time: Wed Nov 26 03:37:21 GMT 2014

Powered by FUDForum. Page generated in 0.02826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software