public class IlvSingleHiLoRenderer extends IlvSingleChartRenderer
For every point index, a point is taken from the first data set in the data source, and a point is taken from the second data set in the data source, to form a pair of points. The pairs of points are also called "high/low" items.
This renderer is used in three situations:
IlvHiLoRenderer
in CLUSTERED
mode.
In this case, the pair consists of a "first point" and of a "second
point".IlvHiLoRenderer
in CANDLE
or
OPENCLOSE
mode, for the high-low values. In this case,
the pair consists of a "low value" and of a "high value". The low
value comes first.IlvHiLoRenderer
in CANDLE
or
OPENCLOSE
mode, for the open-close values. In this case,
the pair consists of an "open" (or "start") value and of a "close"
(or "end") value.
An IlvSingleHiLoRenderer
can be of 4 types: BAR, ARROW, MARKED and STICK. The only difference
among these modes is the way the renderer is drawn.
The following figure shows the different types:
This renderer uses two rendering styles to draw the data points:
ilvSingleHiLoRenderer {
class : "ilog.views.chart.renderer.IlvSingleHiLoRenderer";
annotation : "@#ilvDataLabelAnnotation";
fallStyle : "@#ilvStyle";
name : "<value>";
riseStyle : "@#ilvStyle";
style : "@#ilvStyle";
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
type : "STICK";
useCategorySpacingAtBorders : "false";
visible : "false";
visibleInLegend : "false";
widthPercent : "3.0";
YAxisIdx : "2";
}
Modifier and Type | Property and Description |
---|---|
IlvDataAnnotation |
annotation
Specifies a global annotation for all the data sets displayed by this renderer. |
java.lang.String |
class
Creates a new HiLo renderer. |
IlvStyle |
fallStyle
Sets the fall style. |
java.lang.String |
name
Sets the name of this renderer. |
IlvStyle |
riseStyle
Sets the rise style. |
IlvStyle |
style
Sets the style used by this renderer. |
IlvStyle[] |
styles
Sets the styles used by this renderer. |
int |
type
Sets the type of this renderer. |
boolean |
useCategorySpacingAtBorders
Determines whether the category spacing is used also at the left and right borders. |
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. |
int |
YAxisIdx
Connects the specified renderer to the specified ordinate axis. |
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";
public int YAxisIdx
YAxisIdx : "2";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.