Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Dashboard.fireChanges with multiple parameters

$
0
0
When clicking on a bar in the bar chart, I would like to fire two parameter changes, as such in the on click function:

function(scene){
Dashboards.fireChange('expId', scene.atoms.EXPENDITURE_DIM_ID.value);
Dashboards.fireChange('assetRiskId', scene.atoms.ASSET_RISK_ID.value);
console.log(scene);
}


What I realized is that the first time I click on the bar, it fires one parameter change, then I will have to click on it again, to have the 2nd parameter change fired. Which is not a great resolution if we wanted to update two parameters at the same time.

What is the best way to do this? Please help!!

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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