Example script looks for the base value and compares to a report parameter to set the color of a bar to YELLOW.
function beforeDrawDataPoint( dph, fill, icsc )
{
var hl = icsc.getExternalContext().getScriptable().getParameterValue("HighlightColumn");
 if( dph.getBaseDisplayValue() == hl ){
  importPackage( Packages.org.eclipse.birt.chart.model.attribute.impl );
  var mycolor = ColorDefinitionImpl.YELLOW();
	 r = mycolor.getRed();
	    g = mycolor.getGreen();
	    b = mycolor.getBlue();
	    fill.set(r, g, b);
    }
}
function beforeDrawLegendItem( lerh, bounds, icsc )
{
var hl = icsc.getExternalContext().getScriptable().getParameterValue("HighlightColumn");
  if( lerh.getLabel().getCaption().getValue() == hl){			  
   importPackage( Packages.org.eclipse.birt.chart.model.attribute.impl );
  var mycolor = ColorDefinitionImpl.YELLOW();
	 r = mycolor.getRed();
	    g = mycolor.getGreen();
	    b = mycolor.getBlue();
	    lerh.getFill().set(r, g, b);
    }