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
{
		List list = getReportDesignHandle( ).getVisibleDataSets( );
		String[] names = new String[list.size( ) + 1];
		names[0] = OPTION_NONE;
		for ( int i = 0; i < list.size( ); i++ )
		{
			names[i + 1] = ( (DataSetHandle) list.get( i ) ).getQualifiedName( );
		}
		return names;
	}
	public final String[] getPreviewHeader( ) throws ChartException
	{
		Iterator iterator = ChartReportItemUtil.getColumnDataBindings( itemHandle );
		ArrayList list = new ArrayList( );
		while ( iterator.hasNext( ) )
		{
			list.add( ( (ComputedColumnHandle) iterator.next( ) ).getName( ) );
		}
		return (String[]) list.toArray( new String[list.size( )] );
	}
	public final List getPreviewData( ) throws ChartException
	{
		return getPreviewRowData( getPreviewHeader( true ), -1, true );
	}
	private String[] getPreviewHeader( boolean isExpression )
			throws ChartException
	{
		String[] exps = getPreviewHeader( );
		if ( isExpression )
		{