Bug 313297 XML data set fail in chart data preview
chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/CustomPreviewTable.java
this.getSize( ).y );
				
				gc.setForeground( cGrid );
				gc.drawLine( iXStart - columnWidthOffset, 0, iXStart
						- columnWidthOffset, this.getSize( ).y );
				
				int iYStart = 0;
				int iYEnd = 0;
				for ( int iR = 0; iR <= iMaxRowIndex || iYEnd < getSize( ).y; iR++ )
				{
					
					iYStart = iR * ROW_HEIGHT - ( iVScroll * ROW_HEIGHT );
					iYEnd = iYStart + ROW_HEIGHT;
					
					gc.setForeground( cGrid );
					gc.drawLine( iXStart - columnWidthOffset, iYStart, iXStart
							- columnWidthOffset
							+ getColumnWidthFor( iC ), iYStart );
					gc.setForeground( cDefaultFore );
					
					
					
					Rectangle r = gc.getClipping( );
					gc.setClipping( iXStart - columnWidthOffset,
							iYStart,
							getColumnWidthFor( iC ),
							( iYEnd - iYStart ) );
					
					if ( iC == iColumnIndex
							&& ( bColumnSelection || iR == this.iSelectedRow ) )