Menu

#90 mouseover on a CandleStick or a Bar gives same ToolTip data

open
nobody
None
5
2012-09-19
2011-12-16
JohnO
No

mouseover on a CandleStick or a Bar gives same ToolTip data

On a ZedGraph Pane when "Show point values" is Checked
when you move the mouse over a CurveItem or a class which inherits from CurveItem such as JapaneseCandleStickItem
or BarItem the data for that specific item is displayed as a ToolTip.

In version 509 this worked fine.

However, in version 515

I had a JapaneseCandleStickItem and a BarItem on a Pane. When I moved the mouse over a CandleStick or a Bar on that Pane
the ToolTip displayed the data for the JapaneseCandleStickItem in both cases.

After some investigation I came up with a fix:

ValueHandler.cs
Line 301 is : if ((!(curve is HiLowBarItem)) && (!(curve is ErrorBarItem)))
Line 301 should be : if ((!(curve is HiLowBarItem)) && (!(curve is ErrorBarItem)) && (!(curve is JapaneseCandleStickItem)))

Thank you for your attention.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.