com.klg.jclass.chart
Class JCHiloChartFormat
java.lang.Object
|
+--com.klg.jclass.chart.JCHiloChartFormat
- All Implemented Interfaces:
- JCChartTypeFormat, Serializable
- public class JCHiloChartFormat
- extends Object
- implements JCChartTypeFormat, Serializable
Manages chart properties specific to Hi-Lo charts.
Hi-Lo charts take the Y values of 2 data series
to construct each "logical" bar. The number of data points defines the
number of bars in each row.
- See Also:
- Serialized Form
Field Summary |
protected com.klg.jclass.chart.ChartDataView |
parent
|
Method Summary |
com.klg.jclass.chart.JCChartStyle |
getHiloStyle(int index)
Gets the JCChartStyle that controls the style of the
Hi-Lo chart. |
com.klg.jclass.chart.ChartDataView |
getParent()
|
void |
setHiloStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
Sets the style of the Hi-Lo chart. |
void |
setParent(com.klg.jclass.chart.ChartDataView cdv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected com.klg.jclass.chart.ChartDataView parent
JCHiloChartFormat
public JCHiloChartFormat()
JCHiloChartFormat
public JCHiloChartFormat(com.klg.jclass.chart.ChartDataView p)
setParent
public void setParent(com.klg.jclass.chart.ChartDataView cdv)
- Specified by:
setParent
in interface JCChartTypeFormat
getParent
public com.klg.jclass.chart.ChartDataView getParent()
getHiloStyle
public com.klg.jclass.chart.JCChartStyle getHiloStyle(int index)
- Gets the
JCChartStyle
that controls the style of the
Hi-Lo chart.
- Parameters:
index
- the logical index of the Hi-Lo series
- Returns:
- the
JCChartStyle
object
setHiloStyle
public void setHiloStyle(int index,
com.klg.jclass.chart.JCChartStyle value)
- Sets the style of the Hi-Lo chart.
- Parameters:
index
- the logical index of the Hi-Lo seriesvalue
- the JCChartStyle
object containing the desired style