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
.
Modifier and Type | Field and Description |
---|---|
static int |
SUMMED
Mode type for summed stairs.
|
STACKED, SUPERIMPOSED
AREA, BAR, BUBBLE, CANDLE, CENTERED_LABEL_LAYOUT, COMBO, DATA_LABEL, DEFAULT_LABEL_LAYOUT, DEFAULT_LABELING, HILO, HILO_ARROW, HILO_STICK, HLOC, OUTSIDE_LABEL_LAYOUT, PERCENT_LABEL, PIE, POLYLINE, SCATTER, STACKED_AREA, STACKED_BAR, STACKED_DIVERGING_BAR, STACKED_POLYLINE, STACKED_STAIR, STACKED100_AREA, STACKED100_BAR, STACKED100_POLYLINE, STACKED100_STAIR, STAIR, SUMMED_STAIR, SUPERIMPOSED_BAR, TREEMAP, X_VALUE_LABEL, XY_VALUES_LABEL, Y_VALUE_LABEL
Constructor and Description |
---|
IlvStairChartRenderer()
Creates a new stair chart renderer.
|
IlvStairChartRenderer(int mode)
Creates a new stair chart renderer with the specified
mode.
|
Modifier and Type | Method and Description |
---|---|
protected IlvChartRenderer |
createChild(IlvDataSet dataSet)
Creates an instance of
IlvSingleStairRenderer to
display the specified data set. |
dataSetsAdded, dataSetsChangesBatchEnding, dataSetsChangesBatchStarting, dataSetsRemoved, getMarker, getMarkerSize, getMode, getPolyline, getPolyline, has3DSupport, isAutoTransparency, isStacked100Percent, isStackedByIndex, isSuperimposed, setAutoTransparency, setMarker, setMarker, setMarkerSize, setMode, setStacked100Percent, setStackedByIndex
addImageMapAreas, collectDisplayItems, createLegendItems, draw, draw, drawAnnotations, drawIntoHitmap, drawLegendSymbol, drawSelectionHandles, getAnnotation, getBounds, getBounds, getChild, getChild, getChild, getChildCount, getChildIterator, getChildren, getDisplayItem, getDisplayPoint, getLegendText, getNearestItem, getNearestPoint, getRenderingHint, getRenderingHint, getStyle, getStyles, getXRange, getYRange, getYRange, holdsAnnotations, isViewable, setAnnotation, setAnnotation, setDataPoint, setDisplayPoint, setRenderingHint, setRenderingHint, setStyles, updateChildren
applyStyles, applyStyles, applyStyles, chartConnected, computeDataLabel, computeDataLabelLocation, create, createRenderer, dispose, drawSelectionHandles, drawSelectionHandles, drawSelectionHandles, endRendererChanges, findAppropriateColor, fireTreemapFocusEvent, getAnnotation, getBounds, getChart, getClipRect, getCoordinateSystem, getDataLabeling, getDataLabelLayout, getDataLabelling, getDataSetIndex, getDataSetMainIndex, getDataSetMainRenderer, getDataSource, getDefaultColors, getDefaultLegendTitle, getDepths, getDisplayItem, getDisplayItems, getLegendStyle, getMinDataSetCount, getName, getNearestItem, getNearestPoint, getParent, getPlotRect, getPreferredMargins, getRenderingHint, getStyle, getVirtualDataSet, getXShift, getYAxisIdx, isDisplayingDataSet, isVisible, isVisibleInLegend, reDraw, register, set3D, setAnnotation, setDataLabeling, setDataLabelLayout, setDataLabelling, setDataSource, setName, setParent, setRenderingHint, setRenderingHintWithNoDraw, setStyle, setVisible, setVisibleInLegend, setXShift, setYAxisIdx, startRendererChanges, toData, toDisplay, toDisplay, triggerChange
public static final int SUMMED
IlvPolylineChartRenderer.STACKED
mode, except that it supports data sets with non-identical x-series with
a different semantics.
The displayed value at a point x0 within the data range is computed as follows: For every data set, the data set point with the largest x <= x0 is considered and its y value is looked up. The displayed value y0 is the sum of all these y.
public IlvStairChartRenderer()
public IlvStairChartRenderer(int mode)
IlvPolylineChartRenderer.setMode(int)
protected IlvChartRenderer createChild(IlvDataSet dataSet)
IlvSingleStairRenderer
to
display the specified data set.createChild
in class IlvPolylineChartRenderer
dataSet
by the
caller.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.