Put market on points for line graph (David help please!!)

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
am
Posts: 22
Joined: Mon May 09, 2005 4:56 pm

Put market on points for line graph (David help please!!)

Post by am » Fri May 13, 2005 10:12 am

In the old jar file, there was a method which enabled the image of the points to be displayed, now all i get is a line but you can not identify what the points are: Below is the old code

StandardLegend sl = (StandardLegend) chart.getLegend();
setDisplaySeriesShapes(true);

HOw do i show the plotting points now...

Thank you in advance..

Cheers!!
:P

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 » Fri May 13, 2005 4:56 pm

A lot of work has been done on the new LegendTitle class, and automatic links to the renderers to ensure that the renderer controls the appearance of the legend items. So you should upgrade to the latest release or, better still, wait for the next release (not far away now) which has some important fixes for the LegendTitle class. Note that StandardLegend has been deprecated now.
David Gilbert
JFreeChart Project Leader

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

Deepti Singh
Posts: 8
Joined: Tue May 10, 2005 8:02 am
Location: Bangalore

Re: Put market on points for line graph (David help please!!

Post by Deepti Singh » Mon May 16, 2005 5:28 am

am wrote:In the old jar file, there was a method which enabled the image of the points to be displayed, now all i get is a line but you can not identify what the points are: Below is the old code

StandardLegend sl = (StandardLegend) chart.getLegend();
setDisplaySeriesShapes(true);

HOw do i show the plotting points now...

Thank you in advance..

Cheers!!
:P


Just write sl.setDisplaySeriesShapes(true)

am
Posts: 22
Joined: Mon May 09, 2005 4:56 pm

Cheers

Post by am » Mon May 16, 2005 9:47 am

Thanks this has helped loads.. i got it working now..

:P

vas

setDisplaySeriesShapes() not present in 1.0.0-pre2

Post by vas » Fri May 27, 2005 9:27 am

eh? There is NO setDisplaySeriesShapes() method for the deprecated StandardLegend class anymore. What do we use now in 1.0.0-pre2?

Guest

Re: Put market on points for line graph (David help please!!

Post by Guest » Thu Jun 16, 2005 11:30 pm

When will the documentation be updated to include these changes?

Locked