Summary:
Add a new API to change Colored Block in Legend
Bugzilla Bug (s) Resolved:
150240, 150200
Description:
Add beforeDrawLegendItem() and afterDrawLegendItem() to access
LegendEntryRenderingHints.
Now it is able to change the label, legend color, block size and position.
Tests
Description: Test Manually.
Files
Edited:
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/device/IStructureDefinitionListener.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ChartEventHandlerAdapter.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/IChartEventHandler.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java
Files
Added: None
Files
Deleted: None
Notes
to Build Team: None
Notes
to Developers: None
Notes
to QA: None
Notes
to Documentation:
Chart script API changes, marked beforeDrawLegendEntry() and
afterDrawLegendEntry() as deprecated.
Add beforeDrawLegendItem() and afterDrawLegendItem()