com.jinsight.jetchart
Class OHLCStickSerie

java.lang.Object
  |
  +--com.jinsight.jetchart.AbstractSerie
        |
        +--com.jinsight.jetchart.GraphSerie
              |
              +--com.jinsight.jetchart.OHLCSerie
                    |
                    +--com.jinsight.jetchart.OHLCStickSerie
Direct Known Subclasses:
CandleStickSerie, OHLCBarSerie

public abstract class OHLCStickSerie
extends OHLCSerie

This class implements the properties and methods inherited by subclasses OHLCBarSerie and CandleStickSerie.

See Also:
OHLCBarSerie, CandleStickSerie

Fields inherited from class com.jinsight.jetchart.GraphSerie
ABOVE_TOP_YAXIS, AREA, BAR, BAR_HLC, BAR_OHLC, BESIDE_TOP_YAXIS, CANDLESTICK, DASHED, EMPTY_CIRCLE_MARK, EMPTY_DIAMOND_MARK, EMPTY_SQUARE_MARK, EMPTY_TRIANGLE_MARK, IMAGE, LEGEND, LINE, LINE_HLC, LINE_OHLC, MARK_SHAPE_LEGEND, POINT, ROUNDED_CANDLESTICK, SOLID, SOLID_CIRCLE_MARK, SOLID_DIAMOND_MARK, SOLID_SQUARE_LEGEND, SOLID_SQUARE_MARK, SOLID_TRIANGLE_MARK, STACKED_BAR, X_MARK
 
Fields inherited from class com.jinsight.jetchart.AbstractSerie
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA
 
Method Summary
protected  void finalize()
           
 void setBearishColor(java.awt.Color bearishColor)
          Sets the color of a candlestick or OHLC bar series in a bearish condition, when the open value is larger than the close value.
 void setBullishColor(java.awt.Color bullishColor)
          Sets the color of a candlestick or OHLC bar series in a bullish condition, when the open value is smaller than the close value.
 void setWidth(int width)
          Sets the width of a an OHLC bar or a candlestick.
 
Methods inherited from class com.jinsight.jetchart.OHLCSerie
setToolTipText, setType
 
Methods inherited from class com.jinsight.jetchart.GraphSerie
getColor, getMultipleValues, getRegressionLine, getSerieMap, getSerieMap, getSerieMap, getTitle, getType, getValues, removeRegressionLine, setColor, setCoordinatesStatus, setFont, setMarkLegendBackground, setMarkLegendEnabled, setMarkLegendForeground, setMarkLegendOpacityEnabled, setMarksColor, setMarksEnabled, setMarksStyle, setMultipleValues, setStartPoint, setTitle, setTitleFont, setTitlePosition, setToolTipContent, setValues, setValuesQuery
 
Methods inherited from class com.jinsight.jetchart.AbstractSerie
getId, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipEnabled, setValueFormat, setValues
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBearishColor

public void setBearishColor(java.awt.Color bearishColor)
Sets the color of a candlestick or OHLC bar series in a bearish condition, when the open value is larger than the close value. Default color is black for candlesticks. Unless both bearish and bullish colors are not null they are ignored by OHLC/HLC bar series, which are painted in black by default.
Parameters:
bearishColor - A Color object.
See Also:
setBullishColor(java.awt.Color)

setBullishColor

public void setBullishColor(java.awt.Color bullishColor)
Sets the color of a candlestick or OHLC bar series in a bullish condition, when the open value is smaller than the close value. Default color is white for candlesticks. Unless both bearish and bullish colors are not null they are ignored by OHLC/HLC bar series, which are painted in black by default.
Parameters:
bullishColor - A Color object.
See Also:
setBearishColor(java.awt.Color)

setWidth

public void setWidth(int width)
Sets the width of a an OHLC bar or a candlestick. Default is two pixels.
Parameters:
width - An integer number.

finalize

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