|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.galleries.HighLow
public class HighLow
Provides access to the HighLowClose, OpenHighLowClose and Candlestick gallery objects.
The properties of the HighLow
Class
allow you to customize the visual attributes of a HighLowClose, OpenHighLowClose or Candlestick chart. In order to make the supported members available, you must first set the gallery of the chart to HighLowClose, OpenHighLowClose or Candlestick, and cast the Chart.setGalleryAttributes(com.softwarefx.chartfx.server.IGallery)
property of the Chart to the HighLow
Class
:
HighLow highLow = (HighLow) chart1.getGalleryAttributes();
The cast will fail if the gallery is not set to HighLowClose, OpenHighLowClose or Candlestick.
Once you have done this, using the newly created object you can assign these special attributes for the HighLowClose, OpenHighLowClose or Candlestick gallery types in your chart.
Here is an example of a HighLowClose chart.
Here is an example of a OpenHighLowClose chart.
Here is an example of a Candlestick chart.
Constructor Summary | |
---|---|
HighLow()
|
Method Summary | |
---|---|
boolean |
isHighLowClose4Series()
Gets the HighLowClose4Series. |
void |
setHighLowClose4Series(boolean value)
Provides means to convert a OpenHighLowClose chart to a HighLowClose chart (and the other way around) without having to re-order the series. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HighLow()
Method Detail |
---|
public boolean isHighLowClose4Series()
Gets the HighLowClose4Series. For more detail see setHighLowClose4Series(boolean)
.
public void setHighLowClose4Series(boolean value)
Provides means to convert a OpenHighLowClose chart to a HighLowClose chart (and the other way around) without having to re-order the series.
If this property is set to true, a HighLowClose chart will now take four series.
It will use series index 0 for Low, ignore series index 1, series index 2 for Close and series index 3 for High.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |