bubble charts too
small in some cases.
- Bugzilla Bug (s) Resolved:
175767
- Description:
Add
20% margin area to display bubbles according to bubble size and min/max when
computing scale, which is the common behavior that MS Excel uses. If bubble is
out of bound because of fixed min/max, to clip the bubbles.
Refactor
the logic of outside data check.
Fix a minor bug in scale UI.
Added unit test for algorithm of scale computation.
- Code Reviewer: N/A
- Tests
Description: Unit test.
- Notes
to Build Team: N/A
- Notes
to Developers: N/A
- Notes
to QA: N/A
- Notes
to Documentation: N/A
- Files
Edited:
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/ScaleContext.java"
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith3DAxes.java"
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java"
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java"
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/DeferredCache.java"
"/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java"
"/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Area.java"
"/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Stock.java"
"/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Bubble.java"
"/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Gantt.java"
"/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/AbstractScaleSheet.java"
- Files Added:
"/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/computation/ScaleTest.java"
- Files Deleted