From: SourceForge.net <no...@so...> - 2007-02-07 16:56:52
|
Bugs item #1652640, was opened at 2007-02-05 18:50 Message generated for change (Comment added) made by miq You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1652640&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x Status: Closed Resolution: Duplicate Priority: 5 Private: No Submitted By: Mihael Vrbanec (miq) Assigned to: David Gilbert (mungady) Summary: RangeMarkers do not update properly Initial Comment: With JFreeChart 1.0.3 and domain markers in an XYPlot it is possible to draw a "cursor line" which follows the mouse. You just need to call valueMarker.setValue() in the chartMouseMoved()-method of the listener after translating the coordinates. Now I wanted an horizontal "cursor line" doing the same. But this range marker is not updated visually when calling setValue(). I did look at the source and have found the problem: when adding the domain marker to the plot the plot is registered as a change listener at the marker (XYPlot.java, line 1808). This does not happen when adding a range marker (@see XYPlot.java, line 1896). thx Miq ---------------------------------------------------------------------- >Comment By: Mihael Vrbanec (miq) Date: 2007-02-07 16:56 Message: Logged In: YES user_id=260550 Originator: YES Yeah, sorry, this was a browser re-post problem. nevermind and thx a lot bxe Miq ---------------------------------------------------------------------- Comment By: David Gilbert (mungady) Date: 2007-02-05 20:51 Message: Logged In: YES user_id=112975 Originator: NO This is the same as 1652428, fixed earlier today. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1652640&group_id=15494 |