|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | PROPERTY | DETAIL: PROPERTY | |||||||
ilog.views.chart.IlvChartRenderer
ilog.views.chart.renderer.IlvSingleChartRenderer
ilog.views.chart.renderer.IlvSingleHiLoRenderer
public class IlvSingleHiLoRenderer
Renders two data sets with High/Low items. 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";
visible : "false";
visibleInLegend : "false";
widthPercent : "3.0";
}
| Property Summary | |
|---|---|
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 |
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.IlvSingleHiLoRenderer";
public IlvDataAnnotation annotation
annotation : "@#ilvDataLabelAnnotation";IlvDataLabelAnnotation for an example of implementing an annotation.
public IlvStyle fallStyle
fallStyle : "@#ilvStyle";IlvStyle for an example of implementing a fallStyle.
public java.lang.String name
name : "<value>";
public IlvStyle riseStyle
Note: The Bean property riseStyle must not be specified together
with the Bean property style.
CSS example:
riseStyle : "@#ilvStyle";
See implementing class IlvStyle for an example of implementing a riseStyle.
public IlvStyle style
IlvSingleChartRenderer class
makes use of a single style. If the parameter is null
and the renderer has been attached to a chart, sets a default
style.
Note: The Bean property style must not be specified
together with the Bean property styles.
CSS example:
style : "@#ilvStyle";
See implementing class IlvStyle for an example of implementing a style.
public IlvStyle[] styles
styles[0] : "@#ilvStyle1";styles[1] : "@#ilvStyle2";IlvStyle for an example of implementing a styles.
public int type
ChartRendererEvent.STYLE_CHANGED
event.
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 | |||||||