MarkerChangeEvents

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
lia
Posts: 18
Joined: Sat Oct 14, 2006 5:02 am
Location: Victoria BC

MarkerChangeEvents

Post by lia » Mon Jul 16, 2007 11:59 pm

I am using JFreeCharts 1.0.6
I am trying to implement a MarkerChangeListener. However when I add the following import statements to the top of MarkerDemo2 and recompile the compiler complains that it can't resolve the symbol.

import org.jfree.chart.event.MarkerChangeEvent;
import org.jfree.chart.event.MarkerChangeListener;

Could someone please explain how to implement a MarkerChangeListener.


:?:

david.gilbert
JFreeChart Project Leader
Posts: 11732
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jul 17, 2007 11:22 am

Double check that you are really using JFreeChart 1.0.6 and not some older version. MarkerChangeEvent debuted in version 1.0.3, so you need at least that version.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide

lia
Posts: 18
Joined: Sat Oct 14, 2006 5:02 am
Location: Victoria BC

Post by lia » Wed Jul 18, 2007 4:46 am

No, I am using 1.0.6. I just attempted to use the setValue() method for ValueMarker and got a compiler error. It does not seem to be in the jar file that comes with the demo. It is in the source files so I will create myself an new jar file.

Post Reply