#124 PointValueEvent Fires multiple times

v1.0_(example)
open
nobody
None
1
2014-06-27
2014-03-15
Wuerr Marcus
No

PointValueEvent (of ZedGraph.ZedGraphControl) is raised multiple times.

When I move my mouse cursor over a value point in the graph the PointValueEvent is raised multiple times.
The exact # seems to be random (3-10).
More importantly if I actually return a tooltip string in the event handler the event is raised repeatedly.
Only by returning an empty string could I prevent the event from being raised indefinitely.

When used as intended (returning a tooltip string) the result is that the tool tip flickers (as the value is updated with each event).

Windows: 7,
zedGraph: 5.1.5.28844,
IDE: SharpDevelop
.net target framework: 2.0

Discussion

  • Wuerr Marcus
    Wuerr Marcus
    2014-03-15

    Reproduced also with .net target framework: 4.5.1

     
  • 杰利诚
    杰利诚
    2014-06-27

    hello
    you can fixed it by "Update point tool tips only if they changed." patch,which number is 96.
    hope useful