package it.bisi.report.jasper;

import it.bisi.Utils;

import org.jfree.chart.labels.StandardCategoryItemLabelGenerator;
import org.jfree.data.category.CategoryDataset;

public class MyStandardCategoryItemLabelGenerator extends StandardCategoryItemLabelGenerator
{
	static int i = 0;
	public String generateLabel(CategoryDataset dataset, int series,int category) 
	{
		String result = null;
		String label = (String) Utils.alPercentages.get(i);
		if ( ExecuteReport.prop.get("Report_Label_Format").equals(",") )
			label = label.replace('.', ',');
		
		i++;
		return label + "%";
		}
		
}

@@ -452,16 +452,46 @@
 et(i);%0D%0A
+%09%09//@todo use DecimalFormat;%0D%0A
 %09%09if ( E

add comment to use decimalformat in stead of some custom code