Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Infochart - Bullet Chart / Onclick button to refresh hierarchy values on chart

$
0
0

Hello Gurus,


i am new in SAP Design studio and I working with following scenarios.

I have a dashboard with 8 KPIs and 8  buttons (Orga1 … Orga8) which represent each an Organization. Each organization has a different level of expansion.

Each button is using an onclick event which is referencing to a global script (each by organization) to filter each organization level. The following code is refreshing the chart in reference to the selected hierarchy level:

gv_heh ='tabx';
if(gv_heh =='tabxx'){

INFOCHART_1.setDataSelection({"(MEASURES_DIMENSION) ……});
}
elseif(gv_tab =='tab0')
{….

That is working fine.

On my Dashboard, I am having 8 KPIs means depending on which level you are navigating, you are seeing those KPIs.

I would like to add to my dashboard an InfoChart with Bullet chart.

I would like to create an onclick event on each KPI text which should update the chart depending on the level on which we are navigating.

I experimented by using ao code like this, but it is not working.

if (me.getSelectedValue() == "Scheduled") {

INFOCHART_1.setDataSelection({"08SDC2OSGY2YAT2Z13HZBFH1":"0DGQVBNOAM623L1N2V9YBIVMD"}); }

else

{INFOCHART_1.setDataSelection({"08SDC2OSGY2YAT2Z13HZBFH1":"0DGQVBNOAM623L1N2V9YBIVKF"});}

 

Any input?

 

Thanks

 

Basile


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>