Vaadin Chart Pop-Up

Hi,

I have a weird requirement in my project which is giving me tough time in my efforts and application performance, I would appreciate my fellow vaadin developers to suggest and help me to achieve it.

Requirement :
Onclick of the chart, chart should open in the sub-window and the existing chart should also remain.

Problem :

  • If I add the existing chart object to sub-window then chart is removed from source window.
  • If I get the configuration object from source chart and set it in my new chart then chart is removed from source window.

Current(Bad) solution :
I am retrieving the data based on which chart was clicked, building the chart and adding it to sub-window which reduces the scalability. I am sure there must be another way or hack to do it better than retrieving the data again.

Girish.