Hi , I have a poblem on customization of SampleDashboard: referring to SampleDashboard example I would change the value of the dial chart;
the example (SampleDashboard .jsp) shows :
// create a dial and supply a value we create from the current time
Date now = new Date();
int seconds = now.getSeconds();
// create a value from -15 to +15
int dialValue = -15+seconds/2;
// create the parameres for the bar chart
parameters = new SimpleParameterProvider();
// set the value displayed on the dial
parameters.setParameter( "value", ""+dialValue );
I would like that dialValue take the value of the selected Headcount Variance . Have to put the value in the request? And how?
Does someone have any idea?