Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Fix [Bugzilla] 150240, 15020: Support to change colored block in Legend

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

 

 

Regards,

Nina Li

 


Back to the top