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

A discussion forum for the JCommon class library.
Locked
Millahardman
Posts: 1
Joined: Wed May 09, 2018 9:29 am
antibot: No, of course not.
Location: United Kingdom
Contact:

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

Post by Millahardman » Wed May 09, 2018 10:13 am

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?

Locked