Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » eclipse RAP + chartjs(eclipse RAP + chartjs)
eclipse RAP + chartjs [message #1755008] Sun, 26 February 2017 02:49 Go to next message
Eclipse UserFriend
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 04:51] by Moderator

Re: eclipse RAP + chartjs [message #1755024 is a reply to message #1755008] Mon, 27 February 2017 01:45 Go to previous messageGo to next message
Eclipse UserFriend
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 17:09 Go to previous message
Eclipse UserFriend
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 17:32] by Moderator

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


Current Time: Tue Jul 15 01:13:07 EDT 2025

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

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

Back to the top