The scrolling label and the scrolling bar

Charts displayed with GraphApplet automatically control labels spacing along the horizontal or vertical axis, to prevent labels from overlapping each other. The labels coordinates are sequentially checked, and should one label overlaps a previous one, it is not displayed.
A drawback to this approach is that some series data points cannot be identified by its respective label, since it is not displayed. A scrolling label can be used to address this shortcoming. It can be configured to be displayed at two different locations while mouse is moved across the chart area.

A scrolling bar is simply a line that crosses the chart area to help identify series data points while mouse cursor is moved. It can be used in conjunction with tooltips to accurately identify which series data points are associated with tooltips values. Scrolling bars belong to graphsets.

The following applet displays a line series and the scrolling label is enabled and placed above the top of the graph area. A vertical scrolling bar is also enabled.



<applet code="GraphApplet.class" codebase="../../../demo/applets/classes" archive="GraphChart.jar" width=450 height=300>

<param name="borderon" value="no">
<param name="title" value="The JetChart Library,The scrolling label and the scrolling bar">

<param name="scrollinglabelon" value="yes">
<param name="graphset0_scrollingbaron" value="yes">

<param name="startdate" value="05012002">
<param name="monthlabelson" value="yes">

<param name="tooltipson" value="yes">
<param name="multipletooltipson" value="yes">
<param name="tooltippointer" value="2"> <!-- No pointer is displayed -->
<param name="tooltipmatchingborderon" value="yes">

<param name="serie1" value="line,Line series,0000ff">
<param name="serie1_markson" value="no">
<param name="serie1_thickness" value="2">
<param name="serie1_values" value="131.90,132.80,130.50,131.00,136.75,135.00,131.50,130.50, 132.40,133.30,130.90,123.40,122.25,118.00,120.00,116.10, 115.00,103.45,107.50,103.80,99.00,96.75,94.00,95.90,97.50, 98.40,100.20,102.00,110.40,104.50,108.70,107.75,107.45, 103.00,100.90,99.25,93.80,99.25,103.00,100.25,102.70, 107.15,106.00,107.15,109.00,104.00,96.50,97.95,99.70, 97.70,91.00,87.45,86.80,88.60,85.40,85.90,84.85, 76.55, 68.00,67.45,61.90,60.90,60.75,53.60,58.50, 57.20,51.25,48.50,45.75,46.90,52.55,51.40,54.00, 51.70,41.20,38.75,34.00,33.50,33.25,34.25,33.90, 30.00,33.50,34.95,31.45,26.95,28.40,30.90,28.90, 29.90,29.80,33.25,34.50,34.00,36.90,37.00,36.40, 34.70,37.50,38.30,39.40,43.50,45.80,48.70,46.45">
</applet>

The scrolling label can be placed at two different locations, passing to the 'scrollinglabelposition' parameter one of the following values:
0 - top of the vertical y axis (default)
1 - above the horizontal x axis.