Menu

#152 Patch for 1671645 (crosshair positioning)

closed-accepted
None
5
2007-03-02
2007-03-01
No

This patch fixes the crosshair positioning problem for HORIZONTAL plot orientation.

https://sourceforge.net/tracker/index.php?func=detail&aid=1671645&group_id=15494&atid=115494

The updated version of XYPlot is attached.

Discussion

  • Sergei Ivanov

    Sergei Ivanov - 2007-03-01

    Patch against 1.0.4

     
  • David Gilbert

    David Gilbert - 2007-03-02
    • assigned_to: nobody --> mungady
    • status: open --> closed-accepted
     
  • David Gilbert

    David Gilbert - 2007-03-02

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks! I notice in your patch that you modified the API slightly, adding an 'axisEdge' parameter to the drawDomainCrosshair() and drawRangeCrosshair() methods. In fact, it is possible to derive a suitable edge for use by looking at (1) the plot orientation, and (2) whether you are in the domain method or the range method. So I removed that and committed a modified version of your patch, to be included in the 1.0.5 release.

     

Log in to post a comment.