Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Design Studio - put initial state on chart


I work with DS1.3 SP01, and I have a problem with putting initial state on chart after RESET action from a button.

Initially I was inspired with Zahid’s post, but it’s seems to be other scenario and needs.

I this case, I have a tabstrip with 5 pages, where each presents pie charts. Once we click on one of the chart, a crosstab is displayed for each of them. When I click on button RESET, whatever a page is currently displayed I want to clear all filters for all my charts. During a RESET I hide all cross tabs – so I don’t have to liberate datasources linked to crosstabs.

My code for RESET button seems to work quite ok, cause it gives me a chart with initial state, ready for next selections…. in condition that I do not click on RESET just after 1st click on pie chart.

For example :

- on page 1 : click on pie chart 1, then I go to the page 2/ click on chart 2  - come back to page 1 => click reset (chart 1 - initial state, chart 2-selection is highlighted)

- on page 1 : click on pie chart, then I add additional filter from panel_filter for all charts => click reset, works fine for all charts.

If I try to click on RESET just after an action of click on the pie chart, I would say it stays locked, and my RESET do not put him in initial state. But If I click again, it works ! I would like to understand what is happening just after click on pie chart, why the state of chart seems to be "locked" ?

My code:





// put invisible all cross tab from different pages                


Thank you


Former Member
Not what you were looking for? View more on this topic or Ask a question