Skip to main content
1-Visitor
July 22, 2019
Solved

pop up chart when click chart overview

  • July 22, 2019
  • 1 reply
  • 957 views

here is a problem. in my design, there are 30 charts in one mashup page. But it is so squeeze and it is hard to see data in details. May I know if I click one small chart and pop up a entire chart for each.

Best answer by posipova

That might consume more resources/be much slower. Although , having 30 charts in one mashup is probably also not the best practice. That being said, would it be an option for you to look into utilizing the Tabs widget?

If you would like to proceed with your original idea, you may try binding DoubleClick event of the chart onto the navigation widget which is set to be invisiable at runtime. Here you can make it as complex as you'd like: you can have its own navigation widget for each chart; you can have use the events router or custom service to bind a dynamic mashup name to a single navigation widget which will determine the content of the popup. You will need to have an indepent mashup that has the chart on it (the one you'd be opening with a pop up).

 

You could also create a custom java extension that will implement  the most suitable  solution.

1 reply

posipova20-TurquoiseAnswer
20-Turquoise
July 24, 2019

That might consume more resources/be much slower. Although , having 30 charts in one mashup is probably also not the best practice. That being said, would it be an option for you to look into utilizing the Tabs widget?

If you would like to proceed with your original idea, you may try binding DoubleClick event of the chart onto the navigation widget which is set to be invisiable at runtime. Here you can make it as complex as you'd like: you can have its own navigation widget for each chart; you can have use the events router or custom service to bind a dynamic mashup name to a single navigation widget which will determine the content of the popup. You will need to have an indepent mashup that has the chart on it (the one you'd be opening with a pop up).

 

You could also create a custom java extension that will implement  the most suitable  solution.