I want my users to be able to drag nodes on my
linechart up and down. To do this (Java newbie), I
guess I would have to add a mouse listener to get the
mouse down event, detect which node the mouse is over,
and calculate the new value when the mouse button is
released. The only problem I think I'll have is trying
to detect which node the mouse pointer is over. Does
each dot on a line chart have a fixed width in pixels,
or even better, is there a function to give me the
data item clicked on?
thanks,
Kristian.
Jason J Simas
All
All
Public
|
Date: 2009-06-17 00:22 has anyone implemented this feature? I'm trying to do the same with Chart2d |
|
Date: 2002-01-04 17:57 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2002-01-06 04:55 | 2002-01-11 11:07 | flobadob |
| close_date | 2002-01-05 13:11 | 2002-01-06 04:55 | jjsimas |
| status_id | Pending | 2002-01-06 04:55 | jjsimas |
| close_date | - | 2002-01-05 13:11 | jjsimas |
| status_id | Open | 2002-01-05 13:11 | jjsimas |
| assigned_to | nobody | 2002-01-04 17:57 | jjsimas |
| summary | User editing of charts with mouse | 2002-01-04 17:57 | jjsimas |