CombinedDomainXYPlot : removing a chart and adding another

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Zanton
Posts: 9
Joined: Thu Jul 13, 2006 1:14 pm

CombinedDomainXYPlot : removing a chart and adding another

Post by Zanton » Mon Jul 24, 2006 9:25 am

Hello,

I'm using a CombinedDomainXYPlot with 4 charts and I'd like to remove one of the chart and replace it by another when I click on a button. I thought I could do it by using the add and remove method, but it doesn't work, I'm getting an error :(

Thanks for helping.

Edit : found, I have just noticed a mistake in my code.

Locked