Bug 168839 Chart Legend Toggle Visibility does not work correctly for Pie chart in SVG[0001]
Description: Chart Legend Toggle Visibility does not work correctly . Build number: 2.1.2.v20061221-0710 Steps to reproduce: 1. Preview the attached design file. 2. Click the legend. Expected result: Toggle Visibility works correctly. Actual result: Pie slice of different color disappears when being click. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/DataPointHints.java
import org.eclipse.birt.chart.model.attribute.DataPointComponentType;
import org.eclipse.birt.chart.model.attribute.FormatSpecifier;
import org.eclipse.birt.chart.model.attribute.Location;
import org.eclipse.birt.chart.model.attribute.Location3D;
import org.eclipse.birt.chart.model.attribute.Size;
import org.eclipse.birt.chart.model.attribute.impl.SizeImpl;
import org.eclipse.birt.chart.model.data.NumberDataElement;
import org.eclipse.birt.chart.util.CDateTime;
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.