All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCHLOCChartFormat

java.lang.Object
   |
   +----jclass.chart.JCHLOCChartFormat

public class JCHLOCChartFormat
extends Object
implements JCSerializable, HTMLHandler
Manages chart properties specific to Hi-Lo-Open-Close charts.

Hi-Lo-Open-Close charts take the Y values of 4 data series to construct each "logical" bar. The number of data points defines the number of bars in each row.

Properties

Name Description
IsShowingClose The IsShowingClose property indicates whether the close tick indication is shown or not. The tick appears to the right of the Hi-Lo line. The default value is true.
IsShowingOpen The IsShowingOpen property indicates whether the open tick indication is shown or not. The tick appears to the left of the Hi-Lo line. The default value is true.
IsOpenCloseFullWidth The IsOpenCloseFullWidth property indicates whether the open and close tick indications are drawn across the full width of the Hi-Lo bar or just on one side. The default value is false.


Constructor Index

 o JCHLOCChartFormat()
 o JCHLOCChartFormat(ChartDataView)

Method Index

 o getHiloStyle(int)
Gets the JCChartStyle that controls the style of the Hi-Lo-Open-Close chart.
 o getIsOpenCloseFullWidth()
Gets the IsOpenCloseFullWidth property of the HLOC chart.
 o getIsShowingClose()
Gets the IsShowingClose property of the HLOC chart.
 o getIsShowingOpen()
Gets the IsShowingOpen property of the HLOC chart.
 o getTickSize(int)
Gets the tick size for the open and close ticks.
 o loadParams(String, JCChart)
Load JCChart parameters from HTML file
 o saveParams(String, JCChart)
Save JCChart parameters as HTML tags
 o setHiloStyle(int, JCChartStyle)
Sets the style of the Hi-Lo-Open-Close chart.
 o setIsOpenCloseFullWidth(boolean)
Sets the IsOpenCloseFullWidth property of the HLOC chart.
 o setIsShowingClose(boolean)
Sets the IsShowingClose property of the HLOC chart.
 o setIsShowingOpen(boolean)
Sets the IsShowingOpen property of the HLOC chart.
 o setTickSize(int, int)
Sets the tick size for the open and close ticks.

Constructors

 o JCHLOCChartFormat
 public JCHLOCChartFormat()
 o JCHLOCChartFormat
 public JCHLOCChartFormat(ChartDataView p)

Methods

 o getIsShowingOpen
 public boolean getIsShowingOpen()
Gets the IsShowingOpen property of the HLOC chart. This property determines whether the open tick indication is shown or not.

Returns:
true if shown
 o setIsShowingOpen
 public void setIsShowingOpen(boolean b)
Sets the IsShowingOpen property of the HLOC chart. This property determines whether the open tick indication is shown or not.

Parameters:
b - if true, the open tick is shown.
 o getIsShowingClose
 public boolean getIsShowingClose()
Gets the IsShowingClose property of the HLOC chart. This property determines whether the close tick indication is shown or not.

Returns:
true if shown
 o setIsShowingClose
 public void setIsShowingClose(boolean b)
Sets the IsShowingClose property of the HLOC chart. This property determines whether the close tick indication is shown or not.

Parameters:
b - if true, the close tick is shown.
 o getIsOpenCloseFullWidth
 public boolean getIsOpenCloseFullWidth()
Gets the IsOpenCloseFullWidth property of the HLOC chart. This property determines whether the open and close tick indications are shown full width from left of the Hi-Lo line to the right of the Hi-Lo line.

Returns:
true if full width
 o setIsOpenCloseFullWidth
 public void setIsOpenCloseFullWidth(boolean b)
Sets the IsOpenCloseFullWidth property of the HLOC chart. This property determines whether the open and close tick indications are shown full width from left of the Hi-Lo line to the right of the Hi-Lo line.

Parameters:
b - if true, full width is to be shown.
 o getHiloStyle
 public JCChartStyle getHiloStyle(int index)
Gets the JCChartStyle that controls the style of the Hi-Lo-Open-Close chart.

Parameters:
index - the logical index of the HLOC series
Returns:
the JCChartStyle object
 o setHiloStyle
 public void setHiloStyle(int index,
                          JCChartStyle value)
Sets the style of the Hi-Lo-Open-Close chart.

Parameters:
index - the logical index of the HLOC series
value - the JCChartStyle object containing the desired style
 o getTickSize
 public int getTickSize(int index)
Gets the tick size for the open and close ticks.

Parameters:
index - the logical index of the HLOC series
Returns:
the tick size
 o setTickSize
 public void setTickSize(int index,
                         int value)
Sets the tick size for the open and close ticks.

Parameters:
index - the logical index of the HLOC series
value - the tick size
 o saveParams
 public void saveParams(String name,
                        JCChart comp)
Save JCChart parameters as HTML tags

Parameters:
name - the PARAM NAME
chart - the JCChart component
 o loadParams
 public void loadParams(String name,
                        JCChart comp)
Load JCChart parameters from HTML file

Parameters:
name - the PARAM NAME
chart - the JCChart component

All Packages  Class Hierarchy  This Package  Previous  Next  Index