Bug 214577 Support cube filter in chart
For chart consuming cube, need to support filtering on categories or series, possibly on values if time allows. The UI is similar to the filter dialog for cross tab, but there should be no measure or dimension concepts in chart's dialog.
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
*/
		public IDataQueryDefinition createBaseQuery( List columnExpression )
				throws DataException
		{
			QueryDefinition queryDefn = new QueryDefinition( );
			int maxRow = getMaxRow( );
			queryDefn.setMaxRows( maxRow );
			queryDefn.setDataSetName( getDataSetFromHandle( ).getQualifiedName( ) );
			for ( int i = 0; i < columnExpression.size( ); i++ )
			{
				String expr = (String) columnExpression.get( i );
				Binding colBinding = new Binding( expr );
				colBinding.setExpression( new ScriptExpression( expr ) );
				queryDefn.addBinding( colBinding );
				fNameSet.add( expr );
			}
			generateGroupBindings( queryDefn );
			return queryDefn;
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGenerator#createBaseQuery(org.eclipse.birt.data.engine.api.IDataQueryDefinition)
		 */
		public IDataQueryDefinition createBaseQuery( IDataQueryDefinition parent )
		{
			throw new UnsupportedOperationException( "Don't be implemented in the class." ); 
		}
	} 
}