Current filter:
                                You should refresh the page.
                                0
                                  • Hello support,

                                    the chartHitInfo.seriespoint is always null while hovering over a side by side range bar. See attached sample.

                                    This worked correct under the previous DevExpress version (v2012 vol 1.4)

                                    Best regards,

                                    Goos van Beek

                                WindowsFormsApplicationHitInfo.rar
                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                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.

                                dxSample.zip
                                • Goos van Beek 07.30.2012

                                  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.

                                • Goos van Beek 07.30.2012

                                  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.

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                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.