ChartDirector 7.0 (Java Edition)

Real-Time Charts


This section describes how to use ChartDirector to create real-time charts.

In this section

Real-Time Charts
Description of the general approach of creating real-time charts with ChartDirector.

Simple Real-Time Chart
This sample program demonstrates a web based real-time chart with configurable chart update rate, in which the chart image is updated via streaming.

Real-Time Chart with Snapshot
The example extends the Simple Real-Time Chart example by adding buttons to download the chart in PNG and PDF formats.

Real-Time Chart with Track Line
This sample program demonstrates a real-time chart with configurable chart update rate, in which the chart image is updated via AJAX means. It includes a track cursor that updates the legend dynamically to display the data values as the mouse cursor moves over the chart. When the mouse is not over the chart, the track cursor will display the latest data values.

Real-Time MultiChart
This sample program demonstrates a real-time multichart containing 3 XY charts, with configurable chart update rate. The chart image is updated via AJAX means. It includes a track cursor as a vertical sweep line that snaps to the x data value nearest to the mouse cursor and display the data values at that position.