Bug 190266 TVT33:TCT499: ar: Chart labels are wrapping covering chart numbers beneath
<response_by> Noha El Ghannam at 2007.05.31.09.17.34 </response_by> OS: Windows Build date: 05292007 Component Name: BIRT Blocking: No Tester Name: Noha Steps to recreate the problem: Open 'Select Data' tab in Chart Builder. Problem description: Chart labels are wrapping covering chart numbers beneath making the numbers unreadable, even though there is enough space to display the full chart label without wrapping. <response_by> Cam-Thu Le at 2007.05.31.10.17.58 </response_by> This article was reassigned from Category:''TVT Testcases''. <response_by> Bryan Green at 2007.05.31.10.46.26 </response_by> Changing status in TCT.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/ChartUtil.java
import org.eclipse.birt.chart.model.attribute.impl.ColorDefinitionImpl;
import org.eclipse.birt.chart.model.component.Label;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.ULocale;
/**
 * Utility class for Charts.
 */
public class ChartUtil
{
	/**
	 * Precision for chart rendering. Increase this to avoid unnecessary
	 * precision check.
	 */
	private static final double EPS = 1E-9;
	
	/**
	 * Default max row count that will be supported in charts.
	 */
	private static final int DEFAULT_MAX_ROW_COUNT = 10000;
	private static int iMaxRountCount = 0;
	/**
	 * JVM argument for specifying supported max row count
	 */
	public static final String PROPERTY_MAX_ROW_COUNT = System.getProperty( "CHART_MAX_ROW" ); 	
	
	/**
	 * Returns if the given color definition is totally transparent. e.g.
	 * transparency==0.
	 * 
	 * @param cdef