This section describes the ChartDirector Zooming and Scrolling Framework for creating zooming and scrollable charts.
Description of the ChartDirector Zooming and Scroll Framework .
This sample program demonstrates a simple zoomable and scrollable chart with tooltips, using mouse click and drag to control zooming and scrolling.
Besides using mouse click and drag for zooming and scrolling, this example has buttons for jumping immediately to display data for the last 30 days, last 90 days, last year or all time. There are check boxes to select the data series to plot, and an update button to immediately update the chart. In addition, the chart includes a track cursor that updates the legend dynamically to display the data values as the mouse cursor moves over the chart.
This example demonstrates zooming and scrolling in both horizontal and vertical directions. In addition to using mouse click and drag, this example has a "navigation pad" which can be thought as a representation of the view port. You can drag the pad to move the view port around (that is, to perform 2D scrolling).
© 2012 Advanced Software Engineering Limited. All rights reserved.