|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||
ilog.views.chart.IlvChartRenderer
ilog.views.chart.renderer.IlvCompositeChartRenderer
ilog.views.chart.renderer.IlvHiLoChartRenderer
public class IlvHiLoChartRenderer
A renderer displaying superimposed High/Low renderers. The
IlvHiLoChartRenderer class defines 3 representation modes:
CLUSTERED, CANDLE and OPENCLOSE.
In CLUSTERED mode, this class creates an instance of
IlvSingleHiLoRenderer for every pair (maximum 2) of data
sets, in the low/high order. The type of the child renderers is determined
according to the type property (see setType), and
should match one of the IlvSingleHiLoRenderer types. Note
that the type property only makes sense with the
CLUSTERED mode.
In OPENCLOSE mode, the required number of data sets is 4:
2 data sets (the first ones) for the high/low representation plus 2 data sets
for the start/end representation, each representation corresponding to an
IlvSingleHiLoRenderer instance (of type STICK
and MARKED, respectively).
The CANDLE mode only differs from OPENCLOSE
mode by the graphic representation used: the high/low representation is of
type STICK, the open/close being of type BAR.
The following pictures show the representation of each mode in the following
order: CANDLE, OPENCLOSE and CLUSTERED/BAR
with 2 children.

ilvHiLoChartRenderer {
class : "ilog.views.chart.renderer.IlvHiLoChartRenderer";
annotation : "@#ilvDataLabelAnnotation";
mode : "CLUSTERED";
name : "<value>";
overlap : "3.0";
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
type : "STICK";
visible : "false";
visibleInLegend : "false";
widthPercent : "3.0";
}
IlvSingleHiLoRenderer| Property Summary | |
|---|---|
IlvDataAnnotation |
annotation
Specifies a global annotation for all the data sets displayed by this renderer. |
java.lang.String |
class
Creates a new High-Low chart, with a default width. |
int |
mode
Sets the mode of this renderer. |
java.lang.String |
name
Sets the name of this renderer. |
double |
overlap
Modifies the overlapping amount. |
IlvStyle[] |
styles
Sets the styles used by the child renderers. |
int |
type
Sets the type of the renderer. |
boolean |
visible
Toggles the visibility of this renderer. |
boolean |
visibleInLegend
Indicates whether the renderer appears in the legend. |
double |
widthPercent
Sets the width of the graphical representation of a data point along the x-axis. |
| Property Detail |
|---|
public java.lang.String class
class : "ilog.views.chart.renderer.IlvHiLoChartRenderer";
public IlvDataAnnotation annotation
annotation : "@#ilvDataLabelAnnotation";IlvDataLabelAnnotation for an example of implementing an annotation.
public int mode
mode : "CLUSTERED";| Allowed values: | ||
CLUSTERED |
The clustered mode. | |
CANDLE |
The candle mode. | |
OPENCLOSE |
The openclose mode. |
public java.lang.String name
name : "<value>";
public double overlap
overlap parameter can take values between
0 and 100. It specifies the amount
by which bars overlap.
This method is only meaningful when the mode of the renderer is
set to CLUSTERED.
overlap : "3.0";
public IlvStyle[] styles
styles[0] : "@#ilvStyle1";styles[1] : "@#ilvStyle2";IlvStyle for an example of implementing a styles.
public int type
CLUSTERED mode.
type : "STICK";| Allowed values: | ||
STICK |
Stick renderer type. | |
BAR |
Bar renderer type. | |
ARROW |
Arrow renderer type. | |
MARKED |
Marked renderer type. |
public boolean visible
visible : "false";
public boolean visibleInLegend
The default value of this property is true, which means
that the renderer will automatically create and add items to the legend.
CSS example:
visibleInLegend : "false";
public double widthPercent
widthPercent : "3.0";
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||