How to specify exact location for legend items?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
simon0906
Posts: 1
Joined: Wed Sep 06, 2006 1:59 am

How to specify exact location for legend items?

Post by simon0906 » Wed Sep 06, 2006 2:01 am

Hi there,

I was wondering if there is a way to specify the exact location for legend items in a chart? Thank you.

the_schmitz
Posts: 13
Joined: Thu May 18, 2006 6:01 pm
Location: Washington DC

Post by the_schmitz » Wed Sep 06, 2006 7:57 pm

What kind of chart are you creating? And what do you mean by "exact location" Are you talking about the location ON the Chart itself, or the location within the ChartPanel?

If you're looking for the location within the ChartPanel, I'm looking for the same thing as well.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Sep 07, 2006 2:41 pm

It isn't supported yet. A good option would be some kind of floating annotation for charts (to be displayed at some fixed (x, y) location within the chart area). An annotation that can display a Title instance would be able to handle a the chart legend as well as text and images.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked