Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357715

Summary: Remove the space left by a removed legend
Product: z_Archived Reporter: baku_ra
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: RESOLVED WORKSFORME QA Contact: Sissi Zhu <szhu>
Severity: minor    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: 4.4.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description baku_ra CLA 2011-09-14 22:01:14 EDT
I am trying to completely remove a legend (not the serie) of a Gantt chart.

I know how to hide the label & the picture with this code in beforeDrawLegendItem() :

                  bounds.setHeight(0);
                  bounds.setWidth(0);
                  lerh.getLabel().setVisible(false);


But the legend keep taking a space between the others legends.

So, is there any way to completely remove a legend ?
Comment 1 Maggie Shen CLA 2011-10-26 05:00:02 EDT
could you please attached a screenshot of your problem ? Thanks.
Comment 2 Linda Chan CLA 2014-03-13 20:07:59 EDT
See #comment1.
If the issue still exists for you, please feel free to reopen the bug with more details on how to reproduce.