Hello Again,
I am using some annotations as touch buttons on a chart and need them to be in front of any Y Axis labels, scale, title, etc.
I am using MouseOverOn,Off,Up and Down events.
KeepVisible, ClipInsideGraph and Behind are false.
I am using ScreenCoordinates for Location and Size with RoundedRectangle style.
When I set RenderBehindAxis true, all events work as expected.
When I set RenderBehindAxis false, the MouseOverOn and Off don't seem to respond, the MouseUp and Down do work however.
All other chart mouseover events work fine..
Just changing RenderBehindAxis between true and false seems to affect the 'over' events functionality.
The finger cursor doesn't display when hovering over, but it does change to the finger while mouse down.
Is this normal behavior?
Thanks,
Heather
Edit: Continuing on this topic, If I do set RenderBehindAxis false and Behind false, and have mouseover events defined, if the annotation is placed over a Y Axis title or scale (label) shouldn't the mouseover event of the YAxis Title or Label be ignored and the annotation mouseover event be triggered instead?
(Currently the Y Axis events are active regardless what's on top of them. And the send to front, send to back methods don't seem to help either)
Thanks Again,
Heather
AnnotationXy MouseOver Event Behavior Question
Moderator: Queue Moderators
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: AnnotationXy MouseOver Event Behavior Question
Hello Heather,
Thank you for the detailed, step-by-step instructions to reproduce the issue. Yes, this one seems like a bug. I will fill bug report and we will try to fix it as soon as possible.
Meanwhile you may use workaround: subscribe to _chart.MouseMove event and check Annotation.IsMouseOver().
Sorry for inconvenience.
All the best.
Thank you for the detailed, step-by-step instructions to reproduce the issue. Yes, this one seems like a bug. I will fill bug report and we will try to fix it as soon as possible.
Meanwhile you may use workaround: subscribe to _chart.MouseMove event and check Annotation.IsMouseOver().
Sorry for inconvenience.
All the best.
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: AnnotationXy MouseOver Event Behavior Question
Annotation bug (missing mouse hover event then rendered in front of axis) is now fixed.
This fix will be included in the next release.
This fix will be included in the next release.
Re: AnnotationXy MouseOver Event Behavior Question
Thank you,
I have a presentation Monday morning 10/16/17.
Is the fix in the just released update?
Or if not, is there a hotfix available?
Thanks as always,
Heather
I have a presentation Monday morning 10/16/17.
Is the fix in the just released update?
Or if not, is there a hotfix available?
Thanks as always,
Heather
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: AnnotationXy MouseOver Event Behavior Question
Hello Heather,
We did not have new release yet. LightningChart's SDK is still in the process of fixing and testing.
Meanwhile you may use workaround: subscribe to _chart.MouseMove event and check Annotation.IsMouseOver().
Sorry for inconvenience.
All the best.
We did not have new release yet. LightningChart's SDK is still in the process of fixing and testing.
Meanwhile you may use workaround: subscribe to _chart.MouseMove event and check Annotation.IsMouseOver().
Sorry for inconvenience.
All the best.