Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to add draw XY graph to RAP
How to add draw XY graph to RAP [message #1453692] Mon, 27 October 2014 10:27 Go to next message
Davide Da Lio is currently offline Davide Da LioFriend
Messages: 7
Registered: August 2014
Location: Munich
Junior Member
Hi everybody,

I am working on a RAP application and i got at the point where i would need to add some simple XY-graphs

I ended up here https://www.eclipse.org/nebula/widgets/visualization/visualization.php

I am trying to add the things a I need to my target platform but i get dependency problems.

In particular it says that that org.eclipse.swt is missing.

I understand the point but i would not like to struggle with dependencies too much.
So the question are
1) how can I add simple XY graph to my RAP application?
2) Is there only Nebula or there are some alternatives?
3) If there is only Nebula, how can I safely add it to my target platform without messing around with dependencies?

Thnaks very much for the help.

Re: How to add draw XY graph to RAP [message #1453697 is a reply to message #1453692] Mon, 27 October 2014 10:38 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2339
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
we have an example for simple XY graph in our Workbench Demo [1] based
on standard SWT GC API. The source code is available at [2].

[1] http://rap.eclipsesource.com/demo/release/workbench/
[2]
http://git.eclipse.org/c/rap/org.eclipse.rap.git/tree/examples/org.eclipse.rap.demo/src/org/eclipse/rap/demo/DemoChartViewPart.java
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to add draw XY graph to RAP [message #1453707 is a reply to message #1453697] Mon, 27 October 2014 10:59 Go to previous messageGo to next message
Davide Da Lio is currently offline Davide Da LioFriend
Messages: 7
Registered: August 2014
Location: Munich
Junior Member
Thanks very much. I will have a look now.
Re: How to add draw XY graph to RAP [message #1453721 is a reply to message #1453707] Mon, 27 October 2014 11:23 Go to previous messageGo to next message
Davide Da Lio is currently offline Davide Da LioFriend
Messages: 7
Registered: August 2014
Location: Munich
Junior Member
Well i understand that maybe this is the easiest way to do it without carying about the dependencies but...I have to draw the graph by hand line by line Sad

I would prefer to use something more out of the box.

Any suggestions?
Re: How to add draw XY graph to RAP [message #1453775 is a reply to message #1453721] Mon, 27 October 2014 13:12 Go to previous messageGo to next message
Aleksander   is currently offline Aleksander Friend
Messages: 44
Registered: May 2014
Location: France
Member
Have you tried this?
http://eclipsesource.com/blogs/2014/07/21/yet-another-charting-widget-for-rap/
Re: How to add draw XY graph to RAP [message #1454799 is a reply to message #1453775] Tue, 28 October 2014 19:40 Go to previous message
Davide Da Lio is currently offline Davide Da LioFriend
Messages: 7
Registered: August 2014
Location: Munich
Junior Member
Thanks very much! This was exactly what i needed.

It works perfect, even if i had to do some changes to use double[] arrays of data.

Cheers
Previous Topic:RAP Application to a Servlet Container
Next Topic:Localization problems
Goto Forum:
  


Current Time: Sat May 30 09:54:45 GMT 2020

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

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

Back to the top