The bar chart in this sample has the color changed to RED for the bar corresponding to the pProdLine parameter value supplied at run-time. Only one scruipt was modified to get the job done.
function beforeDrawDataPoint( dph, fill, icsc ){
if(dph.getBaseDisplayValue().contains(icsc.getExternalContext().getScriptable().getParameterValue("pProdLine"))){
// Set to RED
fill.set(242, 88,106);
}
}
<br />
View Live Example<br />
<br />
Built on BIRT 2.3.2 using Classic Models Data, so it should run inisde BIRT as-is. Good Luck!