ChartDirector 7.0 (Java Edition)

Programmable Track Cursor


This section describes ChartDirector's Programmable Track Cursor features.

In this section

Programmable Track Cursor
Description of ChartDirector's Programmable Track Cursor features for web applications.

Track Line with Legend
Demonstrates a track cursor programmed as a vertical sweep line that snaps to the x data value nearest to the mouse cursor, with dots showing the data points at the x position and dynamically updated legend entries showing their values.

Track Line with Data Labels
Demonstrates a track cursor programmed as a vertical sweep line that snaps to the x data value nearest to the mouse cursor, with a tracking label on the x-axis showing the x value. There are also dots showing the data points at the x position and labels beside the dots showing their values.

Track Line with Axis Labels
Demonstrates a track cursor with dots showing the data points at the nearest x data value from the mouse cursor, with lines connecting the dots to the x-axis and y-axis and axis labels showing their values.

Track Line with Vertical Legend
Demonstrates a track cursor programmed as a vertical sweep line that snaps to the x data value nearest to the mouse cursor, with dots showing the data points at the x position and dynamically updated vertical legend entries showing their values. The legend box is put on the left side of the plot area if the track cursor is on the right side and vice versa. This ensures the legend box would not block the region near the track cursor.

Track Box with Floating Legend
Demonstrates a track cursor implemented as a rectangle enclosing the x data slot that contains the mouse cursor, with a floating legend box following the mouse cursor and showing the data values in the slot.

Finance Chart Track Line
Demonstrates a track cursor for a finance chart, implemented as a vertical sweep line that snaps to the trading session nearest to the mouse cursor, with dynamically updated legend entries that show the price, volume and other technical indicators at that trading session.

Crosshair with Axis Labels
Demonstrates a track cursor programmed as a crosshair cursor with axis labels.