Bug 195931 The color of the Meter Dial can only be set as custom color [13]
Description: The color of the Meter Dial can only be set as custom color. Build number: 2.2.0.v20070709-0630 Steps to reproduce: 1. New a Meter Chart, in "Format Chart" tab, Series->Value Series->Fill. Expected result: Gradient color can also be set. Actual result: Only custom color can be set. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/UserDataSetProcessor.java
{
	/**
	 * Populates the trigger datasets from given data source. Only Text data is
	 * supported now.
	 * 
	 * @param oResultSetDef
	 * @throws ChartException
	 */
	public DataSet[] populate( Object oResultSetDef ) throws ChartException
	{
		DataSet[] ds = new DataSet[0];
		if ( oResultSetDef instanceof IResultSetDataSet )
		{
			final IResultSetDataSet rsds = (IResultSetDataSet) oResultSetDef;
			final long lRowCount = rsds.getSize( );
			if ( lRowCount <= 0 )
			{
				throw new ChartException( ChartEnginePlugin.ID,
						ChartException.ZERO_DATASET,
						"exception.empty.dataset",
						Messages.getResourceBundle( ) );
			}
			final int columnCount = rsds.getColumnCount( );
			ds = new DataSet[columnCount];
			
			for ( int k = 0; k < columnCount; k++ )
			{