How to draw AxisTrace when mouse dragged?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
h_A}{
Posts: 29
Joined: Wed Jun 13, 2007 2:23 pm

How to draw AxisTrace when mouse dragged?

Post by h_A}{ » Fri Jun 29, 2007 1:08 pm

How to draw AxisTrace when mouse dragged?
It is real?

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

Post by david.gilbert » Fri Jun 29, 2007 4:24 pm

Can you describe more precisely what it is you want to do? Maybe try running ScatterPlotDemo1 and describe the difference between what *it* does and what you want.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

h_A}{
Posts: 29
Joined: Wed Jun 13, 2007 2:23 pm

Post by h_A}{ » Fri Jun 29, 2007 5:24 pm

I want fix line when MouseButtonPressed
draw line when MouseDragged
end doAction when MouseButtonReleased.

I'm already find soltion:
it is simple: draw Line2D over the chart, how Trace line))) i was read source of JFreeChart and find drawing method....

Big thanx.

wzwei28
Posts: 105
Joined: Wed Mar 16, 2005 9:17 am
Location: Malaysia, Earth
Contact:

Post by wzwei28 » Fri Oct 12, 2007 3:34 pm

Simple algorithm/patch/source code available at following link:
http://www.jfree.org/phpBB2/viewtopic.php?p=64888#64888

Locked