Bug 174202 Pie chart 'minimum slice' label category values don't match legend
To reproduce: Create a pie chart Use Category Data as label values Set a minimum slice percentage Enable a legend Expected behaviour: Slice label should should match legend Actual behaviour: Slice label uses one of the consolidated categories, and not the minimum slice label. This is with 2.2M2 and 2.2M4 Screenshot to follow, as it probably explains better than I do :)
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/DataPointHints.java
import org.eclipse.birt.chart.model.attribute.impl.SizeImpl;
import org.eclipse.birt.chart.model.data.NumberDataElement;
import org.eclipse.emf.common.util.EList;
/**
 * Holds the information necessary to render a DataPoint Label
 */
public final class DataPointHints
{
	private final RunTimeContext rtc;
	private Object oBaseValue;
	private Object oOrthogonalValue;
	
	private Double oStackedOrthogonalValue;
	private Object oSeriesValue;
	private Object oPercentileOrthogonalValue;
	private Map userValueMap;
	private final int index;
	private final Location lo;
	private final double[] dSize;
	private final DataPoint dp;
	
	private boolean bOutside = false;
	private final FormatSpecifier fsBase, fsOrthogonal, fsSeries, fsPercentile;
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.engine/computation" ); 
	/**
	 * DataPointHints constructor.
	 * 
	 * @param _oBaseValue Category data
	 * @param _oOrthogonalValue Value data
	 * @param _sSeriesValue Value Series Name