Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Expand]Providing Data
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Visual Elements
    [Collapse]Examples
      2D Chart Types
     [Expand]2D Chart Types
      3D Chart Types
     [Expand]3D Chart Types
      Providing Data
     [Expand]Providing Data
      Data Representation
     [Expand]Data Representation
      Chart Elements
     [Expand]Chart Elements
      Appearance Customization
     [Expand]Appearance Customization
     [Collapse]End-User Interaction
       How to: Determine which Chart Element is Hovered by the Mouse Pointer
       How to: Display Custom Tooltips for Series Points
       How to: Animate Series Points in a 3D Chart
       How to: Animate a 3D Chart Series
       How to: Animate a 3D Chart Diagram
       How to: Animate Series Points in a 2D Chart
       How to: Animate Series Templates
       How to: Create a Movable Legend at Runtime
       How to: Display a Custom Cursor in the Chart Control
       How to: Invoke the Chart Designer at Runtime
       How to: Implement Selection in the MVVM Style
      End-User Interaction
     [Expand]Miscellaneous
      Miscellaneous
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Display a Custom Cursor in the Chart Control

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E3805.

This example shows how to display a custom cursor when the mouse pointer is hovering over the chart control.

To accomplish this task, handle the  ChartControl.QueryChartCursor event and assign your custom image (e.g., a BitmapImage object loaded from application resources) to the QueryChartCursorEventArgs.CursorImage property.

Note that you need to include your image in the project and set the QueryChartCursorEventArgs.Cursor property to None to see the custom image in the chart control.

Is this topic helpful?​​​​​​​