Bug 104986 Backgound image uses an absolute path
Currently Chart uses an absolute path to indicate a backgournd image, that may cause the design unusable on other environments. Expected the background image can be definded in multiple ways like in report designer. e.g. URI(absolute path), File(relative path), Embedded Image(Encoded Image Data).
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillCanvas.java
import org.eclipse.swt.widgets.Display;
/**
 * @author Administrator
 * 
 */
class FillCanvas extends Canvas implements PaintListener
{
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.ui.extension/swt.composites" ); 
	Fill fCurrent = null;
	public FillCanvas( Composite parent, int iStyle )
	{
		super( parent, iStyle );
		this.addPaintListener( this );
	}
	public void setFill( Fill fill )
	{
		this.fCurrent = fill;
	}
	public void paintControl( PaintEvent pe )
	{
		Color cBackground = null;
		try
		{
			Color clrTransparencyBackground = Display.getCurrent( )
					.getSystemColor( SWT.COLOR_LIST_BACKGROUND );
			GC gc = pe.gc;
			if ( !this.isEnabled( ) )
			{
				gc.setBackground( Display.getCurrent( )
						.getSystemColor( SWT.COLOR_WIDGET_BACKGROUND ) );