unfortunately I have a problem with the Vaadin (v7.6.6) charts. I use two charts. The frist chart is a component of a VerticalLayout and the other one is embedded in a window. But when I close the window, the zoom of the first chart does not work any more.
My code looks like:
[code]
Chart myLayoutChart = new Chart();
DataSeries series = new DataSeries();
… // fill the data series
myLayoutChart.getConfiguration().setSeries(series);
myLayoutChart.getConfiguration().getChart().setZoomType(ZoomType.XY);
verticalLayout.addComponent(myLayoutChart);
Chart myWindowChart = new Chart();
Window myWindow = new Window(“”, myWindowChart);
getUI().addWindow(myWindow);
[/code]Can anyone help me with my issue?
Unluckily I don’t have much time to reproduce it right now, but could you mention if it happens with all browsers or only in some specific browser, and if there’s any error in the browser js console? Also, does it happen just by closing a window that doesn’t contain a Chart?
thank you for your answer. It happens in the Firefox, GoogleChrome and IE browser. So I think it is not a browser specific problem. There is no error in the js console and it does not happen if the window does not contain a Chart.
But maybe you have a tip how I solve my main purpose. I want to create a fullscreen of a Chart when double-clicking on it. So that you can take a better look on it. May you have an alternative solution for that?