🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

Strange behaviour for charts and export to pdf function in SWT browser

Ganesh Modak asked on October 12, 2017

Hi Team,
I am trying to use flexmonster reports from inside a SWT browser, which internally uses IE browser present on system.
I noticed that Charts and export to PDF functionality doesn’t work inside SWT browser unless we do one thing: access the same report on IE11. After that when we freshly access the same page on SWT browser, both the functionalities seem to work fine.
I compared the HTML source for both the cases and they are absolutely same.
Could you please help ?
Thanks and Regards

6 answers

Tanya Gryshko Tanya Gryshko Flexmonster October 12, 2017

Hi Ganesh!

Honestly saying SWT browser is quite unpopular among our customers and it’s probably the first request for this browser.
We will investigate the issue and inform you about the progress.


Ganesh Modak October 23, 2017

Hi Team, any updates on this ?

Dmytro Zvazhii Dmytro Zvazhii Flexmonster October 23, 2017

Hello Ganesh,
Thank you for writing. We are still in the investigation process. Could please give us some more specific details? Are there any errors in the stack trace? Do you have any specific configurations for the Eclipse IDE? For now, we recommend you checking the latest version of the IDE. Also, you can try using some other browser as the default.
Waiting for the update from you.

Ganesh Modak October 23, 2017

Hi Dmytro,
The root cause behind this is: When we open the page in IE 11  and click on Charts, d3.min.js file is loaded and kept in temporary web files location (%userName%\AppData\Local\Microsoft\Windows\Temporary Internet Files) and the functionality runs in both SWT and IE browser. When we close IE (or don’t launch this page in IE at all), this file is deleted and it is not loaded in case we open the page in SWT browser, so charts doesn’t work. Do you think of any workaround ?

Ganesh Modak October 24, 2017

Hi, one more update: I tried including d3.min.js in the html page itself:
<script type=”text/javascript” src=”flexmonster/lib/d3.min.js”></script>
and the charts worked in SWT browser.
Similar behaviour is for export PDF functionality as well.
So the main issue is javascript  files are not loaded from within flexmonster.js in SWT browser, but if we include them in html page itself, the functionalities work.
Can we include all the required .js files in html page itself ?

Dmytro Zvazhii Dmytro Zvazhii Flexmonster October 24, 2017

Hello Ganesh,
Thank you for the update from you. It is nice to hear that you have found a suitable workaround. Yes, you can include all the required files in HTML file.

Please login or Register to Submit Answer