Chart Builder API (beta)

oracle.ord.media.chart.types
Class HiLoCloseDesc

java.lang.Object
  |
  +--oracle.ord.media.chart.types.HiLoCloseDesc

public class HiLoCloseDesc
extends java.lang.Object

HiLoClose objects are used to customize the graphic drawn for HiLoClose and OpenHiLoClose stock charts. The objects are normally supplied as arguments to setYSeriesGraphic(). Users have control of the width, length and color of the marker. The width of the marker is set with setMarkerWidth(), and corresponds to the thickness of the vertical line drawn that indicates the low and the high price. The length of the marker is set with setMarkerLength(), and corresponds to the length of the horizontal line segments that are drawn to mark the close value, and for OpenHiLoClose charts, to mark the open value. The color of the marker is set with setMarkerColor().


Constructor Summary
HiLoCloseDesc()
           
 
Method Summary
 java.awt.Color getMarkerColor()
          Get the color of the marker.
 int getMarkerLength()
          Get the length of the line segment for the close and open values.
 int getMarkerWidth()
          Get the width of the marker.
 void setMarkerColor(java.awt.Color markerColor)
          Set the marker color.
 void setMarkerLength(int markerLength)
          Set the length (in pixels) of the line segment denoting the Close value, and, for OpenHiLoClose charts, the Open value.
 void setMarkerWidth(int markerWidth)
          Set the marker width (in pixels).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiLoCloseDesc

public HiLoCloseDesc()
Method Detail

setMarkerColor

public void setMarkerColor(java.awt.Color markerColor)
Set the marker color.
Parameters:
- markerColor Color of the marker.

setMarkerWidth

public void setMarkerWidth(int markerWidth)
Set the marker width (in pixels).
Parameters:
- markerWidth Width of the marker.

setMarkerLength

public void setMarkerLength(int markerLength)
Set the length (in pixels) of the line segment denoting the Close value, and, for OpenHiLoClose charts, the Open value.
Parameters:
- markerLength Length of line segment marking the Close and Open price.

getMarkerColor

public java.awt.Color getMarkerColor()
Get the color of the marker.

getMarkerWidth

public int getMarkerWidth()
Get the width of the marker.

getMarkerLength

public int getMarkerLength()
Get the length of the line segment for the close and open values.

Chart Builder API (beta)