<p>Found this link,but couldnot understand from code. Can some one explain?</p><p><a data-ipb='nomediaparse' href='
http://www.eclipse.org/forums/index.php/t/237365/'>http://www.eclipse.org/forums/index.php/t/237365/</a></p><p>Please check zip file in link</p><p> </p><p>function beforeDrawAxisLabel( axis, label, icsc )
{
importPackage(
Packages.org.eclipse.birt.chart.model.attribute.impl );
importPackage(
Packages.org.eclipse.birt.chart.model.attribute );
if( axis.getType() == AxisType.TEXT_LITERAL ){
var cp =label.getCaption().getValue();
if( cp.substr(0,2) == last ){
label.getCaption().setValue(cp.substr( (cp.length()-2)));
}else{
label.getCaption().setValue(cp.substr( (cp.length()-2))+"nr "+cp.substr(0,2));
}
last = cp.substr(0,2);
}
}</Script></p><p> </p><p>Could not understand what label and icsc refers to,</p>