Hello Team, i need an help.
I have a birt chart (with four series and two Y axis, combinated series, line and bar) and i need change the label value for any series from my data set…
I define a globalvariable on fetch metod: reportContext.setPersistentGlobalVariable(“newlabel”,row[“Row15”]);
i use de function beforeDrawDataPointLabel( dph, label, icsc ) in this mode:
function beforeDrawDataPointLabel( dph, label, icsc )
{
var newlabel1=icsc.getExternalContext().getScriptable().getPersistentGlobalVariable(“newlabel”);
label.getCaption().setValue(newlabel1);
}
but the label value on the report is null…i think that i make a compilation error…but i don’t know…can you help me?
Thanks.
Biagio