Hit-testing

  • v
  • v
  • v

50607080Temperature, °F101610201024Pressure, ...05/06 22:0006/06 08:0006/06 18:0007/06 04:0007/06 14:0008/06 00:0008/06 10:0008/06 20:0009/06 06:0009/06 16:0010/06 02:0010/06 12:0010/06 22:0011/06 08:00050100Humidity, %Weather in London56.1250.1860.2664.0460.4452.3461.5265.1261.1664.5874.4868.5460.871.0677.971.9662.662.4267.2872.564.456.48Temperature (°F)Pressure (mbar)Relative humidity (%)From www.weather.com

This demo illustrates the interactive capabilities of XtraCharts, in particular, a capability to access any chart's element by hit-testing.

In this demo, after the mouse cursor crosses over a chart's element, a tooltip appears which specifies the object which has been highlighted, and shows its underlying data (if any). If there are multiple objects layered under a test-point, their hierarchy is reflected. This demo is marked as "updated" because a hyperlink element has become accessible by hit-testing.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\XtraChartsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\XtraChartsDemos