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/render/BaseRenderer.java
if ( lih.getType( ) == IConstants.LEGEND_SEPERATOR )
						{
							k++;
							renderSeparator( ipr,
									lg,
									liSep,
									dBaseX + lih.getLeft( ),
									dBaseY + lih.getTop( ),
									bo.getWidth( ),
									Orientation.HORIZONTAL_LITERAL );
						}
					}
				}
			}
			else if ( d.getValue( ) == Direction.LEFT_RIGHT )
			{
				if ( lilh.getLegendItemHints( ) == null )
				{
					throw new ChartException( ChartEnginePlugin.ID,
							ChartException.RENDERING,
							"exception.null.legend.item.hints", 
							Messages.getResourceBundle( rtc.getULocale( ) ) );
				}
				LegendItemHints[] liha = lilh.getLegendItemHints( );
				LegendItemHints lih;
				int k = 0;
				for ( int j = 0; j < seda.length; j++ )
				{
					al = seda[j].getRunTimeSeries( );
					pa = seda[j].getSeriesPalette( );