Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Fix [Bugzilla] 166012: A blemish appears when setting the width and height of chart legend to 0

Summary: A blemish appears when setting the width and height of chart legend to 0.

Bugzilla Bug (s) Resolved: 166012

Description: When rendering the 2D with Depth or 3D charts, the chart engine computes the "depth" in order to display the legend box as a cube instead of a square.

In fact, the blemish is the outline of the legend box. With the fix, the logic will skip the rendering part when the bound of the legend box is 0. Fixed for all chart types, both color by value and category series.

Tests Description: Test Manually.

Files Edited:

/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/Bar.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Dial.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Gantt.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/Pie.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Stock.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/EmptyWithAxes.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/EmptyWithoutAxes.java


Files Added: None

Files Deleted: None


Notes to Build Team:  None

Notes to Developers:  None

Notes to QA:  None


Notes to Documentation:  None

 

Regards,

Nina Li

 


Back to the top