To remove the small label box

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
skkuchipudi
Posts: 23
Joined: Mon Sep 18, 2006 10:08 am
Location: Mumbai, India
Contact:

To remove the small label box

Post by skkuchipudi » Tue Oct 17, 2006 4:01 pm

hi,

I am getting the small box with the sub title in the ground floor of the chart and indicating the line

i have to remove the sub title

regards,
Sumi[/img]

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 » Tue Oct 17, 2006 4:12 pm

Is it the chart legend? You can either create the chart without a legend, or call chart.removeLegend().
David Gilbert
JFreeChart Project Leader

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

skkuchipudi
Posts: 23
Joined: Mon Sep 18, 2006 10:08 am
Location: Mumbai, India
Contact:

Thanks David

Post by skkuchipudi » Tue Oct 17, 2006 4:16 pm

Thanks David,

i used the chart.removeLegend() method and i am getting without that lagend ( My expactations).

thanks a lot

regards,
Sumant

Locked