|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.AbstractSerie
com.jinsight.jetchart.GraphSerie
com.jinsight.jetchart.OHLCSerie
com.jinsight.jetchart.OHLCLineSerie
This class implements the properties and methods of an OHLC line series. An OHLC line series is visually identical to a line series, represented by the LineSerie class. The difference is that an OHLC line series data point is associated with four values, the 'open', 'high', 'low' and 'close' values, which are related to financial charts. The line plotted by an OHLC line series represents a sequence of 'close' values, and tooltips can display either the four values or just the 'high','low' and 'close' values, setting the series type to LINE_OHLC or LINE_HLC, respectively.
OHLCSerie.setType(int),
LineSerie| Field Summary |
| 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, VECTOR, X_MARK |
| Fields inherited from class com.jinsight.jetchart.AbstractSerie |
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA |
| Constructor Summary | |
OHLCLineSerie()
Creates an OHLCLineSerie object. |
|
OHLCLineSerie(double[][] multipleValues)
Creates an OHLC series. |
|
OHLCLineSerie(double[][] multipleValues,
java.lang.String title)
Creates an OHLC serie. |
|
| Method Summary | |
void |
setDashSize(int dashSize)
Sets the size of a dash painted in a dashed line. |
void |
setDashSpace(int dashSpace)
Sets the size of the space between consecutive dashes painted in a dashed line. |
void |
setLegendStyle(int legendStyle)
Sets the style of an OHLC/HLC line series legend. |
void |
setStyle(int style)
Sets the line style. |
void |
setThickness(int lineThickness)
Sets the thickness of OHLC/HLC line series. |
| Methods inherited from class com.jinsight.jetchart.OHLCSerie |
finalize, 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, setMarksHeight, setMarksStyle, setMarksWidth, setMultipleValues, setStartPoint, setTitle, setTitleFont, setTitlePosition, setToolTipContent, setValues, setValuesQuery |
| Methods inherited from class com.jinsight.jetchart.AbstractSerie |
addMultipleValues, addValue, 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 |
| Constructor Detail |
public OHLCLineSerie()
public OHLCLineSerie(double[][] multipleValues)
multipleValues - A bidimensional array of double precision numbers.
public OHLCLineSerie(double[][] multipleValues,
java.lang.String title)
multipleValues - A bidimensional array of double precision numbers.title - String containing series title. Will be displayed in the chart legend box.| Method Detail |
public void setStyle(int style)
style - An integer value.GraphSerie.SOLID,
GraphSerie.DASHEDpublic void setDashSize(int dashSize)
dashSize - An integer value.setStyle(int),
setDashSpace(int)public void setDashSpace(int dashSpace)
dashSpace - An integer value.setStyle(int),
setDashSize(int)public void setThickness(int lineThickness)
lineThickness - An int value. Default is 1.public void setLegendStyle(int legendStyle)
legendStyle - An integer value.GraphSerie.SOLID_SQUARE_LEGEND,
GraphSerie.MARK_SHAPE_LEGEND,
GraphSerie.setMarksEnabled(boolean),
setStyle(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||