I have different plots with legends outside the plot area (see Redirecting to Google Groups). It turns out that the length of the text in the legend determines what the width of the pie chart will be: longer text, narrower pie; shorter text, wider chart.
I’d like the charts to be uniform so I would like to be able to specify that the legend should be, say, 20% of the plot area. Is that possible?
As far as I can tell, the legend width is not directly configurable. However, you can specify the label width. The defalt is 20 which is fairly low, if you increase that to a size that will encompass your largest legend label anywhere, and set all legends to have that same label length then I think things would line up. Otherwise, feel free to open a GitHub issue to discuss supporting this use case better.
I have different plots with legends outside the plot area (see Redirecting to Google Groups). It turns out that the length of the text in the legend determines what the width of the pie chart will be: longer text, narrower pie; shorter text, wider chart.
I'd like the charts to be uniform so I would like to be able to specify that the legend should be, say, 20% of the plot area. Is that possible?
On Tuesday, July 18, 2017 at 5:25:09 PM UTC+2, Bryan Van de ven wrote:
Hi,
As far as I can tell, the legend width is not directly configurable. However, you can specify the label width. The defalt is 20 which is fairly low, if you increase that to a size that will encompass your largest legend label anywhere, and set all legends to have that same label length then I think things would line up. Otherwise, feel free to open a GitHub issue to discuss supporting this use case better.