Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357715 - Remove the space left by a removed legend
Summary: Remove the space left by a removed legend
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 4.4.0   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Sissi Zhu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 22:01 EDT by baku_ra CLA
Modified: 2014-03-13 20:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.