Current filter:
                                You should refresh the page.
                                Support Center
                                  • I want to create a stock chart that will have the main stock price data plotted in the main chart area. My question is how can I create a crosshair cursor like the one that is available in many stock charting software and highlight corresponding values on series?

                                You must  log in  or  register  to leave comments

                                1 Solution


                                To generate a crosshair cursor, you may use two Constant Lines and change their values according to the mouse position (in the MouseMove event handler). You should utilize the XYDiagram.PointToDiagram method to convert pixel coordinates to diagram coordinates.

                                You must  log in  or  register  to leave comments

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners