Can anyone tell me how I can get the UltraChart's MouseHover event to fire whenever the mouse actually hovers? The documentation states that:
Mouse events occur in the following order:
1. MouseEnter 2. MouseMove 3. MouseHover / MouseDown / MouseWheel 4. MouseUp 5. MouseLeave
But I have found that the MouseHover event only ever fires once while the mouse is over the control. If you leave and then re-enter the control (so that the MouseLeave and MouseEnter events fire respectively) then the MouseHover event will fire again, but only once.
The reason for this request is that I am adding various primitives to the SceneGraph during the UltraChart's FillSceneGraph event and then wanting to create tool tips for those primitives when the mouse hovers over them. I do not want to hit-test the primitives during the MouseMove event as that will likely create a performance hit, thus I would like to only do that once the mouse hovers over the chart at a particular point.
Are you setting the appropriate Caps on the primitives you add to the scenegraph? From what I recall if you have PCaps.Skin | PCaps.HitTest | PCaps.Tooltip on the Primitive it'll participate in the coloring, mouse hit tests, and tooltips automatically with those settings.
If you have a handy sample that demonstrates the extras you are doing with the chart I can take a look and see what is going on.
Thanks for you reply. I have attached a sample VB.NET 2010 application that creates a few Time Entries and Custom Primitives within an UltraChart. As you will see, when you hover over a Time Entry Primitive you will get two different tool tips; one created by a custom label render and one created for use by an UltraToolTipManager. I require the latter because with the former only basic un-formatted tool tips can be displayed. I require the latter style of tool tip for my custom primitives as well. While I have since devised a mechanism using the Timer class to allow me to control the number of hit-tests I perform, I am interested to know if a better method is available via the Infragistics UltraChart control infrastructure.