- Summary:
Fix chart scripting: label visibility functions
- Bugzilla Bug (s) Resolved:
115801
- Description:
Fix chart scripting functions:
beforeDrawDataPoint(DataPointHints, Label) -- Note: the function has been
changed to beforeDrawDataPointLabel(DataPointHints, Label)
beforeDrawAxisLabel(Axis, Label)
beforeDrawAxisTitle(Axis, Title)
If set "label.setVisible(false);", the label is still visible.
The reason is the renderer does not check whether the label is visible after
calling the functions.
- Tests Description:
- Files Edited:
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Bar.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Line.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/PieRenderer.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Scatter.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
- Files Added: None
- Notes
to Build Team: N/A
- Notes to Developers: N/A
- Notes to QA:
At present, the chart scripting functions only could be accessed via
API, not supported in UI.
- Notes
to Documentation: N/A