Graphical Cursor

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

Graphical Cursor

Post by anamika » Mon Feb 04, 2008 5:10 pm

i am a new user of jfree .I want to make graphical cursor in some existing java project using BlueJ editor. I have loaded new version of jfree and jcommen ..please let me know how to start from here.

nimowy
Posts: 19
Joined: Fri Jan 25, 2008 10:16 pm

Post by nimowy » Mon Feb 04, 2008 5:30 pm

Hi, can you please explain what you mean by graphical cursor?

'Cause cursor to me means the pointer, like the little arrow you click with on your mouse, or the line that keeps track of where you're typing.

Perhaps there is some other meaning I don't know? Something statistical?

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Post by matinh » Tue Feb 05, 2008 2:06 pm

Did you have a look at the examples available from the homepage? Is one of the examples doing what you want? Which one?

If so, the source code of the examples would be a good starting point. How to obtain it is explained on this site. The guide and the source are really worth its money!

If none of the examples is doing what you want, please explain in more details what you would like to do.

hth,
- martin

anamika

Graphical Cursor

Post by anamika » Thu Feb 07, 2008 3:20 pm

Graphical Cursor means ...for ex. i have a graph with x and y axis and there will be a cursor which points to a line,which moves on that graph and points and location and then give the formula for that location...
this is what i want...
could you please tell me how to proceed for it...

Anamika...

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Post by matinh » Thu Feb 07, 2008 3:36 pm

You mean like ScatterPlotDemo1 or ScatterPlotDemo2 from XY Charts in the JFreeChart-demo?

Well, ... read my previous post.
Or search for setVerticalAxisTrace()/setHorizontalAxisTrace() in the source

hth,
- martin

Wetzerk
Posts: 14
Joined: Thu Feb 07, 2008 3:54 pm

Post by Wetzerk » Thu Feb 07, 2008 4:05 pm

Is this SWT or in a webpage? If it's a webpage you could just change the css class of the mouseover.

Locked