Bug 214453 Some Legend Entries are not correct when the text is shortened by ellipsis
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java
{
						bIsStack = false;
						break;
					}
				}
			}
		}
		
		return bIsStack;
	}
	
	
	/**
	 * Check if the legend items need display in a inverted order (Stack Bar)
	 */
	private boolean isNeedInvert(final boolean bPaletteByCategory, 
			final Chart cm, final SeriesDefinition[] seda)
	{
		boolean bNeedInvert = false;	
		if (!(cm instanceof ChartWithAxes)) {
			return false;
		}
		
		boolean bIsStacked = isStacked(seda);
		boolean bIsFliped = ( (ChartWithAxes) cm ).isTransposed( );
		
		if (bPaletteByCategory) {	
			bNeedInvert = bIsFliped;
		}
		else {