Real-Time Chart with Measurement Cursors

Real-Time Chart Example in C++ (MFC, Qt) and C# (.NET Windows Forms, WPF)

Real-Time Chart with Measurement Cursors in C++ (MFC, Qt) In many ChartDirector code examples, the track cursor follows the mouse as it moves. In this example, the track cursor is moved with mouse drag instead. This allows the mouse to control multiple track cursors. The differences in data values between the track cursors are displayed and on a semi-transparent overlay on the chart.

This example is based on the Real-Time Chart with Zooming and Scrolling sample code in the ChartDirector distribution with the following changes:

Download

*** Note *** : If you are new to ChartDirector, it is recommended you download ChartDirector from the download page to try it. It includes complete ChartDirector documentation as well as plenty of sample code designed as tutorials. The following assumes you already have some basic understanding of ChartDirector.
The sample code in this page is included as part of the "Real-Time Chart Extra Sample Code Pack".
Real-Time Chart Extra Sample Code Pack for C++ (MFC, Qt)
Real-Time Chart Extra Sample Code Pack for .NET (C# Windows Forms, WPF)

Reference

The followings are links to the documentation of the original Real-Time Chart with Zooming and Scrolling sample code.