private double drawValue(Graphics2D g2d, String text0, int startAngle, int angle){
		double percent = (double) Math.round((double) angle/360*100*1000)/1000;
		if(percent > 5 || text0.equalsIgnoreCase("Other")){
			String text = String.valueOf(percent) + "%";
			g2d.setColor(Color.BLACK);
			g2d.setFont(getFont().deriveFont(9.0f));
			g2d.drawString(text, (float) Math.cos(Math.toRadians(-(angle/2 + startAngle) - 90))*80 + 140 - text.length()*2, (float) Math.sin(Math.toRadians(-(angle/2 + startAngle) - 90))*80 + 140 + 15);
		} else {
			return percent;
		}
		return 0;
	}