Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

regarding passing parameter from Penel_1 to Panel_2

$
0
0
Hi All,

i am new to dashboards & i have created one dashboard which has two panels (Penel_1 & Panel_2), i am trying to pass parameter from Penel_1 to Panel_2, by clicking slice in pie chart from panel_1...

following is code i have written which looks good but its not working because dashboard is refreshing on click but parameter is not getting passed to panel_2 .

Code:

function q(scene){    var vars = scene.vars;
    var c = vars.category.value;
    Dashboards.setParameter('param_custom_state', c.substring(7, c.length));
    Dashboards.fireChange('param_custom_state',  c.substring(7, c.length));
}

Requesting you to pls. help me on this...

Regards,
Mateen

Viewing all articles
Browse latest Browse all 2893

Trending Articles



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