public class IlvComboChartRenderer extends IlvCompositeChartRenderer
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 |
---|
IlvComboChartRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
applyStyles(boolean newStyles)
Applies styling to the renderer.
|
protected IlvChartRenderer |
createChild(IlvDataSet dataSet)
Creates a new child renderer to display the specified data set.
|
IlvLegendItem[] |
createLegendItems()
Creates the legend item instances associated to this renderer.
|
protected void |
dataSetsAdded(int firstIdx,
int lastIdx,
IlvDataSet[] oldDataSets)
Called when data sets are connected to this renderer.
|
protected void |
dataSetsChangesBatchEnding()
Called when a series of data sets insertions or removals is terminating.
|
protected void |
dataSetsChangesBatchStarting()
Called when a series of data sets insertions or removals is starting.
|
protected void |
dataSetsRemoved(int firstIdx,
int lastIdx,
IlvDataSet[] oldDataSets)
Called when data sets are disconnected from this renderer.
|
IlvChartRenderer |
getSingleChild(IlvDataSet dataSet)
Returns the child renderer that renders the specified data set.
|
static int |
getType(IlvDataSet dataSet)
Returns the type of the graphical representation of the given data set.
|
boolean |
has3DSupport()
Indicates whether this renderer supports three-dimensional drawing.
|
void |
setAnnotation(IlvDataAnnotation annotation)
Specifies an annotation for all the data points of a data set.
|
void |
setRenderingHint(IlvDataRenderingHint hint)
Specifies a global rendering hint for all the data sets displayed
by this renderer.
|
static void |
setType(IlvDataSet dataSet,
int type)
Sets the type of the graphical representation of the given data set.
|
protected void |
updateChildren()
Called when children have been added or removed from this renderer.
|
addImageMapAreas, collectDisplayItems, 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
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, setDataLabeling, setDataLabelLayout, setDataLabelling, setDataSource, setName, setParent, setRenderingHintWithNoDraw, setStyle, setVisible, setVisibleInLegend, setXShift, setYAxisIdx, startRendererChanges, toData, toDisplay, toDisplay, triggerChange
public void applyStyles(boolean newStyles) throws Exception
applyStyles
in class IlvChartRenderer
Exception
public IlvChartRenderer getSingleChild(IlvDataSet dataSet)
protected IlvChartRenderer createChild(IlvDataSet dataSet)
createChild
in class IlvCompositeChartRenderer
dataSet
by the
caller.public static int getType(IlvDataSet dataSet)
public static void setType(IlvDataSet dataSet, int type)
dataSet
- The data set to represent.type
- The type of the graphical representation.public void setAnnotation(IlvDataAnnotation annotation)
setAnnotation
in class IlvChartRenderer
annotation
- The new annotation. If this parameter is
null
, all the global annotations previously
defined are removed.IlvChartRenderer.setAnnotation(IlvDataSet, IlvDataAnnotation)
public void setRenderingHint(IlvDataRenderingHint hint)
setRenderingHint
in class IlvChartRenderer
hint
- The new rendering hint. If this parameter is
null
, all the global hints previously
defined are removed.IlvCompositeChartRenderer.setRenderingHint(IlvDataSet, IlvDataRenderingHint)
protected void dataSetsRemoved(int firstIdx, int lastIdx, IlvDataSet[] oldDataSets)
dataSetsRemoved
in class IlvChartRenderer
firstIdx
- The index of the first data set.lastIdx
- The index of the last data set.oldDataSets
- The data sets previously connected to this renderer.protected void dataSetsAdded(int firstIdx, int lastIdx, IlvDataSet[] oldDataSets)
dataSetsAdded
in class IlvChartRenderer
firstIdx
- The index of the first data set.lastIdx
- The index of the last data set.oldDataSets
- The data sets previously connected to this renderer.protected void dataSetsChangesBatchStarting()
dataSetsChangesBatchStarting
in class IlvChartRenderer
IlvChartRenderer.dataSetsChangesBatchEnding()
protected void dataSetsChangesBatchEnding()
dataSetsChangesBatchEnding
in class IlvChartRenderer
IlvChartRenderer.dataSetsChangesBatchStarting()
public boolean has3DSupport()
has3DSupport
in interface IlvChart3DSupport
has3DSupport
in class IlvChartRenderer
true
protected void updateChildren()
updateChildren
in class IlvCompositeChartRenderer
public IlvLegendItem[] createLegendItems()
createLegendItems
in class IlvCompositeChartRenderer
null
.IlvLegend
,
IlvLegendItem
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.