Project: Birt
Bug 104986 Backgound image uses an absolute path
Reported: 2005-07-25 06:37:19 | Status: resolved fixed

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).

Files changed in fix:
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/AttributeFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/AttributePackage.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/CallBackValue.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/EmbeddedImage.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributeFactoryImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributePackageImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/EmbeddedImageImpl.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeAdapterFactory.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeSwitch.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeValidator.java chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillCanvas.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/IconCanvas.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ImageDialog.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/MarkerIconDialog.java