Goos van Beek
07.29.2012
1 Solution
I suggest that you handle the ObjectHotTracked event:
[C#]private void ChartControlPlanning_ObjectHotTracked(object sender, HotTrackEventArgs e) { if (e.AdditionalObject is SeriesPoint) if (((SeriesPoint)e.AdditionalObject) != null) Text = Text + '!'; }
Attached is a modified sample project that demonstrates how to accomplish this.
-
Hi Valdermar,
Thanks for your suggestion. It works fine that way.
I was wondering if something has changed; the code I used was working well before.Regards,
Goos. -
Thank you for the additional clarification. I will discuss this behavior with our developers.
-
I believe you are referring to a known issue: we changed the default ChartControl behavior in the latest version (2012.1.5) to improve the overall drawing performance. At present, the ChartControl.RuntimeHitTesting property is set to False by default (BC1699). To resolve the issue, set the RuntimeHitTesting property to True.
-
Thanks. I wasn't aware of the BC1699 change and never checked the RunTimeHitTesting property.
Using the ObjectHotTracked event seems the best to me now.Regards,
Goos.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+