Legend box overrides graphics

Bug #354004 reported by Diego Manenti Martins
4
Affects Status Importance Assigned to Milestone
Cairo Plot
Confirmed
Medium
Unassigned

Bug Description

When using series_label on BarPlot the legend box overrides graphis.
The attached patch solves it reducing 'plot_dimensions[main_dir]'.

Revision history for this message
Diego Manenti Martins (dmmartins) wrote :
Revision history for this message
Rodrigo Moreira Araújo (alf-rodrigo) wrote :

I've been thinking about a solution for this since I saw this bug.
I don't think that making the plotting area smaller is a solution.
I though of 2 other solutions:
 1 - Allow the user to select where the legend box will be plotted (one of the four corners);
 2 - Or maybe something like this [1]

I'm inclined to solution 1. What do you think?

[1] http://zia.hss.cmu.edu/econ/homework06/1/bar1.JPG

Changed in cairoplot:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Diego Manenti Martins (dmmartins) wrote : Re: [Bug 354004] Re: Legend box overrides graphics

2009/4/2 Rodrigo Moreira Araújo <email address hidden>:
> I've been thinking about a solution for this since I saw this bug.
> I don't think that making the plotting area smaller is a solution.
hum. works for me. but I don't like it :)

> I though of 2 other solutions:
>  1 - Allow the user to select where the legend box will be plotted (one of the four corners);
>  2 - Or maybe something like this [1]
>
> I'm inclined to solution 1. What do you think?
I prefer solution 2.
If all bars have the same size the legend box will override in any
place you put it.

>
> [1] http://zia.hss.cmu.edu/econ/homework06/1/bar1.JPG

--
diego

Revision history for this message
Sebastien Cote (sebas642) wrote :

If you implement solution 1, you can also define positions that are outside the graph. This way the solution works for all use cases.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.