From: SourceForge.net <no...@so...> - 2007-02-05 18:50:41
|
Bugs item #1652640, was opened at 2007-02-05 18:50 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: Open Resolution: None Priority: 5 Private: No Submitted By: Mihael Vrbanec (miq) Assigned to: Nobody/Anonymous (nobody) 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1652640&group_id=15494 |