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/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
};
	}
	public IMethodInfo[] getMethods( String scriptName )
	{
		if ( scriptName != null
				&& scriptName.equals( ChartReportItemUtil.PROPERTY_ONRENDER ) )
		{
			ScriptClassInfo info = new ScriptClassInfo( IChartEventHandler.class );
			List list = info.getMethods( );
			Collections.sort( list, new Comparator( ) {
				public int compare( Object arg0, Object arg1 )
				{
					if ( arg0 instanceof IMethodInfo
							&& arg1 instanceof IMethodInfo )
					{
						String name0 = ( (IMethodInfo) arg0 ).getName( );
						String name1 = ( (IMethodInfo) arg1 ).getName( );
						if ( name0.startsWith( "before" ) && name1.startsWith( "after" ) ) 
						{
							return -1;
						}
						if ( name0.startsWith( "after" ) && name1.startsWith( "before" ) ) 
						{
							return 1;
						}
						return ( name0.compareToIgnoreCase( name1 ) );
					}
					else
						return -1;
				}