Hi,
Pentaho 5.0.1 CE + CDE trunk build81:
when defining two parameters with a ClickAction of a "CCC Bar Chart" this way:
with a first click on a bar I can see that s, c and v are well defined but there's "no data found" in the charts using these parameters, with a second click on the same bar it works!
when i click on another bar (same series + another category) OR ( another series + same category) it works with only one click.
when i click on another bar (another series + another category) it works only with 2 clicks.
(there was no problem with a ClickAction like this:
function f1(s,c,v){
Dashboards.fireChange('param1',s);
Dashboards.fireChange('param2',c);
}
in a dashboard built with Pentaho 4.0.0 + old CDE)
Pentaho 5.0.1 CE + CDE trunk build81:
when defining two parameters with a ClickAction of a "CCC Bar Chart" this way:
Code:
function f1(scene) {
var s = scene.vars.series.value;
var c = scene.vars.category.value;
var v = scene.vars.value.value;
alert("series: " + s + "\ncategory: " + c + "\nvalue: " + v);
Dashboards.fireChange('param1', s);
Dashboards.fireChange('param2', c);
// Dashboards.fireChange('param3', v);
}
when i click on another bar (same series + another category) OR ( another series + same category) it works with only one click.
when i click on another bar (another series + another category) it works only with 2 clicks.
(there was no problem with a ClickAction like this:
function f1(s,c,v){
Dashboards.fireChange('param1',s);
Dashboards.fireChange('param2',c);
}
in a dashboard built with Pentaho 4.0.0 + old CDE)