com.jinsight.jetchart
Class ScrollingBar

java.lang.Object
  |
  +--com.jinsight.jetchart.ScrollingBar

public class ScrollingBar
extends java.lang.Object

A scrolling bar is a vertical or horizontal line which slides across a GraphSet object area following the mouse cursor, crossing series data points with the same labels coordinates. The scrolling bar helps identify the data points associated with tooltips that are simultaneously displayed. It also helps identify the data points whose values are captured and displayed when a mouse move event is triggered. The scrolling bar is only displayed if chart is 2D. It has no public constructor and can only be accessed through a 'get' method implemented in the GraphSet class.

See Also:
GraphSet.getScrollingBar()

Method Summary
protected  void finalize()
           
 void setColor(java.awt.Color color)
          Sets the color of the scrolling bar.
 void setEnabled(boolean isEnabled)
          Enables/disables the scrolling bar.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setEnabled

public void setEnabled(boolean isEnabled)
Enables/disables the scrolling bar. If enabled, a vertical scrolling bar will be displayed while moving the mouse cursor across the chart area. The scrolling bar is only displayed if chart is 2D.
Parameters:
isEnabled - A boolean value(true/false).
See Also:
GenericGraph.set3DEnabled(boolean)

setColor

public void setColor(java.awt.Color color)
Sets the color of the scrolling bar.
Parameters:
color - A Color object.

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object