Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » eclipse RAP + chartjs(eclipse RAP + chartjs)
eclipse RAP + chartjs [message #1755008] Sun, 26 February 2017 07:49 Go to next message
Sudesh Bulathsinhala is currently offline Sudesh BulathsinhalaFriend
Messages: 193
Registered: October 2010
Senior Member
Hello,

I have followed the tutorial eclipsesource by Tim Buschtöns, on integrating chartjs with eclipse RAP. It works out of the box when run with RAP internal web browser. However if you run the same using RAP External Web Browser, the chart is distorted and and when resize, values are getting decreased, diminished and you don't see the x axis labels, etc.

EclipseSource Tutorial > http://eclipsesource.com/blogs/2014/07/21/yet-another-charting-widget-for-rap/

Outcome >
RAP Internal Web Browser - 1_rap_internal_browser.png
RAP External Web Browser - 2_rap_external_browser.png

Any idea, why the chart renders different on internal/external web browsers ?
external web browser = firefox 51.0.1 (32-bit)

Thanks in advance,
Sudesh

[Updated on: Sun, 26 February 2017 09:51]

Report message to a moderator

Re: eclipse RAP + chartjs [message #1755024 is a reply to message #1755008] Mon, 27 February 2017 06:45 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2263
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
did you change browser zoom level?
Regards,
Ivan
Re: eclipse RAP + chartjs [message #1755083 is a reply to message #1755024] Mon, 27 February 2017 22:09 Go to previous message
Sudesh Bulathsinhala is currently offline Sudesh BulathsinhalaFriend
Messages: 193
Registered: October 2010
Senior Member
Hi Ivan,

Finally it's working after adjusting the zoom level to a smaller size.
Now both RCP and RAP charts are in sync. Single source Rocks !

rap > rap-chartjs.png
rcp > rcp-swtchart.png

Thanks for your valuable suggestion.
Sudesh

[Updated on: Mon, 27 February 2017 22:32]

Report message to a moderator

Previous Topic:Send event to server with ClientScripting?
Next Topic:ClientFileLoader of fonts as registered resource
Goto Forum:
  


Current Time: Sat Feb 24 04:12:57 GMT 2018

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

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