Chart stops working

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

Chart stops working

Post by Kenny Dubuisson » Fri Oct 25, 2002 3:49 pm

I have a basic time series chart that works great with default colors, strokes, etc. I'm trying to modify the lines (stroke) to look like I want but whenever I add the line:

CategoryPlot plot = chart.getCategoryPlot();

to my servlet, my chart is not generated at all. Any ideas? If I just remove the line, the servlet works great. Thanks,
Kenny

Kenny Dubuisson

Re: Chart stops working

Post by Kenny Dubuisson » Fri Oct 25, 2002 4:40 pm

Solved my own problem again. I was trying to stick an XYPlot into a CategoryPlot. DOH!

That's now twice in two days I've solved my own issues within a hour of posting questions. Guess that tells me I need to wait an hour before I post and see what happens.

Thanks all,
Kenny

Locked