Bugs item #3293977, was opened at 2011-04-27 20:30
Message generated for change (Tracker Item Submitted) made by philpem
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3293977&group_id=51305

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: None
Group: last released version
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Philip Pemberton (philpem)
Assigned to: Nobody/Anonymous (nobody)
Summary: (wxFreePlot) markers become invisible on XY charts

Initial Comment:
[freechart] BUGFIX: H/V marker visibility check error

In some situations, the marker lines on an XY chart may become invisible. The 
attached patch fixes this issue.

In brief: Markers were not being checked against the correct axis. A horizontal 
marker line should be checked against the vertical (Y) axis (because it's 
plotted on that axis), while a vertical marker line should be checked against 
the horizontal (X) axis. This meant that if you had a Y axis value range of say 
1..1000 (integer) and an X axis value range of 0.04 to 2.00 (float), any 
vertical markers located below value 1.0 would be ignored (half the value span).

Other code which calls Axis->IsVisible() should also be checked for correctness.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3293977&group_id=51305

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to