public class IlvStairChartRenderer extends IlvPolylineChartRenderer
IlvSingleStairRenderer
for
every data set in the connected data source.
For a stair chart, the displayed value at a point x0 within the data range is computed by looking up the data set point with the largest x <= x0 and taking its value.
Note: This renderer only works with data sets whose x-series are
sorted in ascending order (see IlvDataSet#isXValuesSorted
). To sort a
data set into ascending x order, you can use the class
IlvXSortedDataSet
.
Note: This renderer does not work in 3-D mode in the
STACKED
or SUMMED
modes. This is a limitation.
The following figure shows an example of an IlvStairChartRenderer
.
ilvStairChartRenderer {
class : "ilog.views.chart.renderer.IlvStairChartRenderer";
annotation : "@#ilvDataLabelAnnotation";
autoTransparency : "false";
marker : "CIRCLE";
markerSize : "2";
mode : "SUPERIMPOSED";
name : "<value>";
stacked100Percent : "false";
stackedByIndex : "false";
styles[0] : "@#ilvStyle1";
styles[1] : "@#ilvStyle2";
visible : "false";
visibleInLegend : "false";
YAxisIdx : "2";
}
Modifier and Type | Property and Description |
---|---|
IlvDataAnnotation |
annotation
Specifies a global annotation for all the data sets displayed by this renderer. |
boolean |
autoTransparency
Sets whether this renderer should use transparent default colors. |
java.lang.String |
class
Creates a new stair chart renderer. |
ilog.views.chart.graphic.IlvMarker |
marker
Specifies a marker for the child polyline renderers. |
int |
markerSize
Specifies a marker size for the child polyline renderers. |
int |
mode
Sets the mode of this renderer. |
java.lang.String |
name
Sets the name of this renderer. |
boolean |
stacked100Percent
Specifies whether the stacking is scaled to 100 . |
boolean |
stackedByIndex
Specifies whether the stacking is based on data set indices rather than on X values. |
IlvStyle[] |
styles
Sets the styles used by the child renderers. |
boolean |
visible
Toggles the visibility of this renderer. |
boolean |
visibleInLegend
Indicates whether the renderer appears in the legend. |
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 int YAxisIdx
YAxisIdx : "2";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.