I have 2 questions about Legend here is my chart screen : http://imgur.com/BXAggeo
1) How can i put blue small rectangle after 10 in legend ? so how can i change position of small blue rectangle in legend area?
2) Is it possible to put legend area inside plot area. Currently it's in chart area.
Change Legend Ring Plot
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Change Legend Ring Plot
Do you want to interrupt the legend string "10 - 20 (30)" with the blue rectangle, or just want to change the order of the legend string and symbol?
Re: Change Legend Ring Plot
/
Last edited by avakado on Tue Jan 03, 2017 10:19 am, edited 1 time in total.
Re: Change Legend Ring Plot
I want to interrupt the legend string "10 - 20 (30)" with the blue rectangleparadoxoff wrote:Do you want to interrupt the legend string "10 - 20 (30)" with the blue rectangle, or just want to change the order of the legend string and symbol?
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Change Legend Ring Plot
So you want to have 2 strings per legend item, with a symbol in between? if the strings a symbols of different legend items need to be horizontally aligned, this can easily become a signifcant amount of work involving the generation of a nested BlockContainer or maybe a new Arrangement class. Is this a must-have or a nice-to-have? And for what purpose do you need it?
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: Change Legend Ring Plot
Alternatively, if you're using Swing, consider the approach shown here, which uses getLegendItems() to create a GridLayout of Icon instances.