Page 1 of 1

how to specify the position and layout of a jfreechart chart legend

Posted: Wed May 09, 2018 10:13 am
by Millahardman
I am using JFreeChart to render a stacked area chart. By default, the chart legend is rendered below the plot with the elements laid out horizontally. I would like the legend to appear on the right of the plot with the elements laid out as a vertical list.

Is this possible and, if so, how do I do it?