Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

How to display multiple graphs based on select and deselect of dimension filter

$
0
0


Hello everyone,

 

I have a requirement to display graph1 when nothing is selected in dimension filter and graph 2 if one or more characteristic values are selected in dimension filter.

 

Here is what I did so far:

 

I created 2 chart objects (CHART_5 and CHART_9) of the same size. CHART_5 is visible by default and CHART_9 is hidden. I have the following code in 'On Apply' property of my dimension filter

 

CHART_5.setVisible(false);

CHART_9.setVisible(true);

 

This takes care of changing the graphs when I select a specific one or more characteristic values. But nothing happens when I deselect/uncheck the characterisc values (which is expected since there is no code to handle that)

 

I understand that I may have to use an If-else clause, but I am not sure which function of dimension filter I need to use for if condition.

 

Any guidance is greatly appreciated.

 

Thanks,

Aditi


Viewing all articles
Browse latest Browse all 4216

Trending Articles