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.
|
-
JCHLOCChartFormat()
-
-
JCHLOCChartFormat(ChartDataView)
-
-
getHiloStyle(int)
- Gets the JCChartStyle that controls the style of the
Hi-Lo-Open-Close chart.
-
getIsOpenCloseFullWidth()
- Gets the IsOpenCloseFullWidth property of the HLOC chart.
-
getIsShowingClose()
- Gets the IsShowingClose property of the HLOC chart.
-
getIsShowingOpen()
- Gets the IsShowingOpen property of the HLOC chart.
-
getTickSize(int)
- Gets the tick size for the open and close ticks.
-
loadParams(String, JCChart)
- Load JCChart parameters from HTML file
-
saveParams(String, JCChart)
- Save JCChart parameters as HTML tags
-
setHiloStyle(int, JCChartStyle)
- Sets the style of the Hi-Lo-Open-Close chart.
-
setIsOpenCloseFullWidth(boolean)
- Sets the IsOpenCloseFullWidth property of the HLOC chart.
-
setIsShowingClose(boolean)
- Sets the IsShowingClose property of the HLOC chart.
-
setIsShowingOpen(boolean)
- Sets the IsShowingOpen property of the HLOC chart.
-
setTickSize(int, int)
- Sets the tick size for the open and close ticks.
JCHLOCChartFormat
public JCHLOCChartFormat()
JCHLOCChartFormat
public JCHLOCChartFormat(ChartDataView p)
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
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.
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
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.
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
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.
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
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
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
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
saveParams
public void saveParams(String name,
JCChart comp)
- Save JCChart parameters as HTML tags
- Parameters:
- name - the PARAM NAME
- chart - the JCChart component
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