cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

pop up chart when click chart overview

xiaoqw
15-Moonstone

pop up chart when click chart overview

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.

ACCEPTED SOLUTION

Accepted Solutions
posipova
20-Turquoise
(To:xiaoqw)

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.

View solution in original post

1 REPLY 1
posipova
20-Turquoise
(To:xiaoqw)

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.

Announcements


Top Tags