graph without series

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
siva

graph without series

Post by siva » Thu Oct 26, 2000 12:02 am

i want to create a plain graph without series,i don't want to display
the series on the graph how to do it

David Gilbert

RE: graph without series

Post by David Gilbert » Thu Oct 26, 2000 5:18 am

Do you mean you don't want to display the legend? You can use:

yourChart.setLegend(null);

Regards,

DG.

Serge Boiko

RE: graph without series

Post by Serge Boiko » Tue Nov 28, 2000 7:51 pm

David;
setting legend to null, i.e. chart.setLegend(null);
doesn't work for me. What is wrong?
-Serge

Serge Boiko

oops. it works!

Post by Serge Boiko » Tue Nov 28, 2000 8:02 pm

I'm sorry, setLegend(null) does work.
-Serge

Locked