I've add this charts in SectionStackSection in SmartGWT. When I minimize StackSection it's shows X and Y Axis on other Section. So what is this Problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
got a problem which i think has the same origin:
i quote myself from another thread:
I build an app using smartGWT (3.1) (GWT: 2.5).
To hold changes to the various views (scrollbar-position in ListGrids etc.) I add all the views to the main canvas and just change their visibility (show() / hide())
(hide() all children then show() the one which was selected in the menu)
This works fine until I use hichcharts (gwt.highcharts-1.5.0.jar / highcharts.js -> 2.3.5). no difference if I wrap the Chart in a smartGWT or GWT widget, when I hide the views some elements of the chart stays visible.
Legend-background, Ledgend-lines, and some dots from the data-points stays visible. It happens in firefox 18.0.2 and IE 9. In Chrome (24.0.1312.57 m) it works.
I try TabSet aswell. when i switch tabs (which should hide the 'old' tab) the same elements of the chart stays visible.
besides of the visibility-problem the still active Listener from the chart are another problem.
summary: highcharts chart do not hide proper when parent-widgets hide (in firefox & IE).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This sounds like the z-index issue in some of the Highcharts components. Check out the ideas on the following related thread and see if those options can address the problem you're seeing:
I used the charts for reports in extra windows so for now i workaround that issue with a
window.minimize in addition to the hide() of the parent-widget.
setLeft(-100000) works too, but as i create my different main-views at startup the initial "hide" with included setLeft wont work.
only after everything is build/drawn setLeft triggers as intended (when selecting views in the menu)
but i will try to design the usecases that way, that charts are nested in windows or gets destroyed and recreated if the view changes.
ps: excuse my bad english ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've add this charts in SectionStackSection in SmartGWT. When I minimize StackSection it's shows X and Y Axis on other Section. So what is this Problem?
got a problem which i think has the same origin:
i quote myself from another thread:
I build an app using smartGWT (3.1) (GWT: 2.5).
To hold changes to the various views (scrollbar-position in ListGrids etc.) I add all the views to the main canvas and just change their visibility (show() / hide())
(hide() all children then show() the one which was selected in the menu)
This works fine until I use hichcharts (gwt.highcharts-1.5.0.jar / highcharts.js -> 2.3.5). no difference if I wrap the Chart in a smartGWT or GWT widget, when I hide the views some elements of the chart stays visible.
Legend-background, Ledgend-lines, and some dots from the data-points stays visible. It happens in firefox 18.0.2 and IE 9. In Chrome (24.0.1312.57 m) it works.
I try TabSet aswell. when i switch tabs (which should hide the 'old' tab) the same elements of the chart stays visible.
besides of the visibility-problem the still active Listener from the chart are another problem.
summary: highcharts chart do not hide proper when parent-widgets hide (in firefox & IE).
This sounds like the z-index issue in some of the Highcharts components. Check out the ideas on the following related thread and see if those options can address the problem you're seeing:
https://sourceforge.net/p/gwt-highcharts/discussion/general/thread/ab268e1c
I used the charts for reports in extra windows so for now i workaround that issue with a
window.minimize in addition to the hide() of the parent-widget.
setLeft(-100000) works too, but as i create my different main-views at startup the initial "hide" with included setLeft wont work.
only after everything is build/drawn setLeft triggers as intended (when selecting views in the menu)
but i will try to design the usecases that way, that charts are nested in windows or gets destroyed and recreated if the view changes.
ps: excuse my bad english ;)