Overlaid XY Plot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
JDeVelvis
Posts: 4
Joined: Mon Jul 07, 2003 6:38 pm

Overlaid XY Plot

Post by JDeVelvis » Wed Aug 06, 2003 2:48 pm

I'm looking at upgrading to 0.9.10, but I can't figure out how to do overlaid charts. I assume that the multiple axis plot replaced the overlaid plots, but is there a way that I can display a basic line chart over a scatter plot? I may be missing the obvious, but I cannot figure this out at all.

Thanks,
Jason
Jason DeVelvis
Senior Web Developer
Premier MicroSolutions, LLC

Guest

Post by Guest » Fri Aug 08, 2003 7:16 pm

Has anyone figured out how to do overlaid charts with version 10 and higher? I've tried using the setSecondaryDataset and setSecondaryRenderer, but the thing is I can't even do a setDataset without getting a NullPointerException.

askex2056
Posts: 57
Joined: Tue Aug 05, 2003 3:16 pm
Location: Germany, Munich

Post by askex2056 » Mon Aug 11, 2003 8:07 am

Hi,

take a look into the org.jfree.chart.demo.Overlaid...Demo
Maybe you will find your answer there. the setSecondary... methods
are working, since i use them. Maybe, if you could post some code,
someone will be happy to help you.

Regards,
Andreas Schroeder

Locked