Bug 150899 Cannot bind data values to chart series, which causes chart preview fail.
How to reproduce it? 1. Create a new chart, bind it with valid data set. 2. Assign the valid data values to category series and value series. Current result: 1. There is no chart live preview in chart builder. It still uses the default sample data. 2. Preview, dataset invalid exception is thrown out. Investigation: It is perhaps caused by ResultSetWrapper.java. There is no initializeMeta( ) in the Constructor.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/ResultSetWrapper.java
}
			for ( int i = 0; i < trashList.size( ); i++ )
			{
				resultSet.remove( ( (Integer) trashList.get( i ) ).intValue( )
						- i );
			}
			int groupChange = trashList.size( );
			trashList.clear( );
			
			if ( iaBreaks.length > 0 && groupChange > 0 )
			{
				for ( int j = k; j < iaBreaks.length; j++ )
				{
					iaBreaks[j] -= groupChange;
				}
			}
			iStartIndex = iEndIndex - groupChange;
			totalRowCount -= groupChange;
		}
	}
	private int groupingUnit2CDateUnit( GroupingUnitType unit )
	{
		if ( unit != null )
		{
			switch ( unit.getValue( ) )
			{
				case GroupingUnitType.SECONDS :
					return Calendar.SECOND;
				case GroupingUnitType.MINUTES :
					return Calendar.MINUTE;