Additional Sample Code
The ChartDirector software distribution includes a lot of of code samples. They are designed as tutorials to introduce various ChartDirector chart types and features step by step. As tutorials, they tend to be simple for ease of understanding.

From time to time, for support or internal testing, we develop test code that combines multiple ChartDirector features and uses more advanced programming techniques such as multithreading. As these code might be of interest to other developers, we package them into code samples and publish them.
Multithreading Real-Time Chart in C++ (MFC, Qt) and C# (.NET Windows Forms, WPF)
Multithreading Real-Time Chart
[C++ (MFC/Qt) and C# (.NET Windows Forms, WPF)]
This example illustrates a multithreading real-time chart with zooming, scrolling and programmable track cursor features, and you can save the charts on the fly in PDF or as PNG/JPG/BMP images.
Real-Time Chart with Viewport Control in C++ (MFC, Qt) and C# (.NET Windows Forms, WPF)
Real-Time Chart with Viewport Control
[C++ (MFC/Qt) and C# (.NET Windows Forms, WPF)]
This example illustrates a real-time chart with a viewport control, with zooming, scrolling and programmable track cursor features, and you can save the charts on the fly in PDF or as PNG/JPG/BMP images.
Real-Time Sweep Chart in C++ (MFC, Qt) and C# (.NET Windows Forms, WPF)
Real-Time Sweep Chart
[C++ (MFC/Qt) and C# (.NET Windows Forms, WPF)]
In most ChartDirector real-time chart examples, when the data lines reach the right border, the chart will scroll to the left to leave space for more data. In contrast, in this Real-Time Sweep Chart example, when the data lines reach the right border, they will wrap back and restart from the left side.