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!!
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!!