|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.render.AbstractRender
com.ijchart.xychart.render.AbstractWithAxisRender
com.ijchart.xychart.render.category.AbstractCategoryRender
com.ijchart.xychart.render.category.StackedBarRender
com.ijchart.xychart.render.category.GroupStackedBarRender
public class GroupStackedBarRender
Title: IJChart
Description: a chart library for the Java(tm) platform.
Draw stacked bar shapes.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.render.category.AbstractCategoryRender |
---|
DEFAULT_BASE_VALUE, DEFAULT_ITEM_MARGIN, DEFAULT_MAXIMUM_BAR_WIDTH, DEFAULT_MINIMUM_BAR_WIDTH |
Constructor Summary | |
---|---|
GroupStackedBarRender(IMatrixDataset dataset)
constructor. |
|
GroupStackedBarRender(IMatrixDataset dataset,
boolean renderAsPercentages)
constructor. |
Method Summary | |
---|---|
void |
drawAllItems(CategoryAxis categoryAxis,
AbstractValueAxis valueAxis,
RectangleEdge valueAxisEdge,
java.awt.geom.Rectangle2D dataArea,
ChartOrientation orientation,
RenderShapeCollection renderShapes,
float alpha)
Draws all data items. |
protected int |
getLegendItemCount()
Returns the count of legends. |
LegendType |
getLegendType()
Return the legend type. |
Methods inherited from class com.ijchart.xychart.render.category.StackedBarRender |
---|
clone, equals, hashCode, isRenderAsPercentages, setRenderAsPercentages, toString |
Methods inherited from class com.ijchart.xychart.render.category.AbstractCategoryRender |
---|
addAnnotation, createCategoryMarkerShape, drawAllAnnotation, drawCategoryMarker, getAllAnnotations, getBaseValue, getItemMargin, getMaximumBarWidth, getMinimumBarWidth, removeAllAnnotation, setBaseValue, setItemMargin, setMaximumBarWidth, setMinimumBarWidth |
Methods inherited from class com.ijchart.xychart.render.AbstractWithAxisRender |
---|
createItemShape, createValueMarkerShape, drawIntervalValueMarker, drawValueMarker, getValueAxisOffsetType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupStackedBarRender(IMatrixDataset dataset)
dataset
- IMatrixDataset
The dataset (null not permitted).public GroupStackedBarRender(IMatrixDataset dataset, boolean renderAsPercentages)
dataset
- IMatrixDataset
The dataset (null not permitted).renderAsPercentages
- boolean
A flag that controls whether the data values are rendered as percentages.Method Detail |
---|
public void drawAllItems(CategoryAxis categoryAxis, AbstractValueAxis valueAxis, RectangleEdge valueAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, RenderShapeCollection renderShapes, float alpha)
drawAllItems
in class StackedBarRender
categoryAxis
- CategoryAxis
The category axis (null not permitted).valueAxis
- AbstractValueAxis
The value axis (null not permitted).valueAxisEdge
- RectangleEdge
The value axis edge (null not permitted).dataArea
- Rectangle2D
The chart data area (null not permitted).orientation
- ChartOrientation
The chart orientation (null not permitted).renderShapes
- RenderShapeCollection
Collects information about the render (null not permitted).alpha
- float
The alpha transparency (in the range 0.0f to 1.0f, where 0.0f is fully transparent,
and 1.0f is fully opaque).public LegendType getLegendType()
getLegendType
in interface IRender
getLegendType
in class AbstractRender
protected int getLegendItemCount()
getLegendItemCount
in class AbstractRender
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |