Chart FX 7 for Java Server

com.softwarefx.chartfx.server.galleries
Class HighLow

java.lang.Object
  extended by com.softwarefx.chartfx.server.galleries.HighLow
All Implemented Interfaces:
IGallery

public class HighLow
extends Object
implements IGallery

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

HighLow

public HighLow()
Method Detail

isHighLowClose4Series

public boolean isHighLowClose4Series()

Gets the HighLowClose4Series. For more detail see setHighLowClose4Series(boolean).


setHighLowClose4Series

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.

Remarks:
  • 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

    2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.