MouseListener demo

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
yomaceo
Posts: 1
Joined: Fri Jun 01, 2007 8:19 pm

MouseListener demo

Post by yomaceo » Fri Jun 01, 2007 8:23 pm

Hi all,

I am trying to implement clickable charts. In a post a while back I found:

-----------------------------------
In the JFreeChart demo sources (that ship with the JFreeChart Developer Guide) there are three demos: MouseListenerDemo1.java, MouseListenerDemo2.java and MouseListenerDemo3.java. These will help you get going with clickable charts.
------------------------------------

I have the Demo source and it includes the MouseListener files, but they don't show up when I run the actual demo (java -jar jfreechart-1.0.5-demo.jar).

What am I missing? Or alternatively is there a snazzier way to do clickable charts now (the above post was from 2003).

Thanks!
-mike

laurent b
Posts: 7
Joined: Fri Apr 27, 2007 5:43 am

Post by laurent b » Wed Jun 13, 2007 9:07 am

Hey I'm looking for something like this, an html link or java callback with the point data, I will need it on a timeSeries.
I'm surprised there is nothing accessible easily, I don't want to go the mouse implemation (and break that wonderful zoom function), I'm still looking thru doc and code... let u know.
any quick help appreciate

laurent b
Posts: 7
Joined: Fri Apr 27, 2007 5:43 am

Re: MouseListener demo

Post by laurent b » Wed Jun 13, 2007 9:39 am

yomaceo wrote: In the JFreeChart demo sources (that ship with the JFreeChart Developer Guide) there are three demos: MouseListenerDemo1.java, MouseListenerDemo2.java and MouseListenerDemo3.java. These will help you get going with clickable charts.
look MouseListenerDemo4.java in release 1.0.5
I guess I'm gonna dig from here :roll:

Locked