ChartDirector 7.1 (C++ Edition)

Zoomable and Scrollable Charts


This section describes the ChartDirector Zooming and Scrolling Framework for creating zooming and scrollable charts.

For MFC Applications

Zooming and Scrolling Framework (MFC)
Description of the ChartDirector Zooming and Scroll Framework for MFC applications.

Simple Zooming and Scrolling (MFC)
This example demonstrates a simple zoomable and scrollable chart with tooltips, using mouse click and drag to control zooming and scrolling.

Zooming and Scrolling with Track Line (1) (MFC)
In addition to using mouse click and drag, this example demonstrates using a scroll bar for scrolling and mouse wheel for zooming. It also includes a track cursor that updates the legend dynamically to display the data values as the mouse cursor moves over the chart.

Zooming and Scrolling with Track Line (2) (MFC)
This example extends Zooming and Scrolling with Track Line (1) (MFC) by adding date picker controls to select and display the date range. It also includes checkboxes to hide and show data series.

Zoom/Scroll with PDF Report (MFC)
This example extends Zooming and Scrolling with Track Line (1) (MFC) to demonstrate creating a PDF report with multiple charts covering the entire data range.

Mega Chart Zoom/Scroll (MFC)
This example demonstrates a zoomable and scrollable chart with huge datasets containing 3 x 10M data points.

Zooming and Scrolling with Viewport Control (MFC)
The example extends the Zooming and Scrolling with Track Line (1) (MFC) example by replacing the scrollbar with a CViewPortControl. There is also a save button to save the chart in PNG, JPG, GIF, BMP, SVG or PDF formats.

XY Zooming and Scrolling (MFC)
This example demonstrates zooming and scrolling in both horizontal and vertical directions. In addition to using mouse click and drag, this example demonstrates using a slider and a CViewPortControl to control zooming and scrolling. This example also includes a crosshair track cursor with dynamic labels on the x-axis and y-axis showing the mouse cursor position, and an image map for data point tooltips.

For QT Applications

Zooming and Scrolling Framework (Qt)
Description of the ChartDirector Zooming and Scroll Framework for QT applications.

Simple Zooming and Scrolling (Qt)
This example demonstrates a simple zoomable and scrollable chart with tooltips, using mouse click and drag to control zooming and scrolling.

Zooming and Scrolling with Track Line (1) (Qt)
In addition to using mouse click and drag, this example demonstrates using a scroll bar for scrolling and mouse wheel for zooming. It also includes a track cursor that updates the legend dynamically to display the data values as the mouse cursor moves over the chart.

Zooming and Scrolling with Track Line (2) (Qt)
This example extends Zooming and Scrolling with Track Line (1) (Qt) by adding date picker controls to select and display the date range. It also includes checkboxes to hide and show data series.

Zoom/Scroll with PDF Report (Qt)
This example extends Zooming and Scrolling with Track Line (1) (Qt) to demonstrate creating a PDF report with multiple charts covering the entire data range.

Mega Chart Zoom/Scroll (Qt)
This example demonstrates a zoomable and scrollable chart with huge datasets containing 3 x 10M data points.

Zooming and Scrolling with Viewport Control (Qt)
The example extends the Zooming and Scrolling with Track Line (1) (Qt) example by replacing the scrollbar with a QViewPortControl. There is also a save button to save the chart in PNG, JPG, GIF, BMP, SVG or PDF formats.

XY Zooming and Scrolling (Qt)
This example demonstrates zooming and scrolling in both horizontal and vertical directions. In addition to using mouse click and drag, this example demonstrates using a slider and a QViewPortControl to control zooming and scrolling. This example also includes a crosshair track cursor with dynamic labels on the x-axis and y-axis showing the mouse cursor position, and an image map for data point tooltips.