|
|||||||||
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.xy.AbstractXYRender
com.ijchart.xychart.render.xy.IntervalXNumberYBaseBar2DRender
public class IntervalXNumberYBaseBar2DRender
Title: IJChart
Description: a chart library for the Java(tm) platform.
绘制(startX,endX,base,y)四个值组成的柱状图的图形.Copyright: Copyright (c) 2013
Company:
Field Summary | |
---|---|
static double |
DEFAULT_BASE_VALUE
缺省用于绘制柱状图的的基值,基值必须在坐标轴刻度值的最小值与最大值之间. |
Constructor Summary | |
---|---|
IntervalXNumberYBaseBar2DRender(IMatrixDataset dataset)
构造器. |
Method Summary | |
---|---|
java.lang.Object |
clone()
返回克隆的对象. |
void |
drawAllItems(AbstractValueAxis xAxis,
RectangleEdge xAxisEdge,
AbstractValueAxis yAxis,
RectangleEdge yAxisEdge,
java.awt.geom.Rectangle2D dataArea,
ChartOrientation orientation,
RenderShapeCollection renderShapes,
float alpha)
绘制所有的图形. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
double |
getBaseValue()
返回用于绘制柱状图的的基值,基值必须在数据集的最小值与最大值之间. |
LegendType |
getLegendType()
返回图例类型. |
int |
hashCode()
计算对象的hashcode值. |
void |
setBaseValue(double value)
设置用于绘制柱状图的的基值,基值必须在数据集的最小值与最大值之间, 并向所有监听器发送 RenderChangeEvent 事件.
|
java.lang.String |
toString()
覆盖toString方法. |
Methods inherited from class com.ijchart.xychart.render.xy.AbstractXYRender |
---|
addAnnotation, drawAllAnnotation, getAllAnnotations, removeAllAnnotation |
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 |
Field Detail |
---|
public static final double DEFAULT_BASE_VALUE
Constructor Detail |
---|
public IntervalXNumberYBaseBar2DRender(IMatrixDataset dataset)
dataset
- IMatrixDataset 数据集 (不可为null).
Method Detail |
---|
public double getBaseValue()
public void setBaseValue(double value)
RenderChangeEvent
事件.
value
- double 用于绘制柱状图的的基值.
public void drawAllItems(AbstractValueAxis xAxis, RectangleEdge xAxisEdge, AbstractValueAxis yAxis, RectangleEdge yAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, RenderShapeCollection renderShapes, float alpha)
drawAllItems
in class AbstractXYRender
xAxis
- AbstractValueAxis x数值坐标轴 (不可为null).
xAxisEdge
- RectangleEdge x坐标轴位置(不可为null).
yAxis
- AbstractValueAxis y数值坐标轴 (不可为null).
yAxisEdge
- RectangleEdge y坐标轴位置 (不可为null).
dataArea
- Rectangle2D 数据区域 (不可为null).
orientation
- ChartOrientation 图表的方向 (不可为null).
renderShapes
- RenderShapeCollection render图形集合 (不可为null).
alpha
- float alpha值,须属于闭区间[0.0,1.0].
public LegendType getLegendType()
getLegendType
in interface IRender
getLegendType
in class AbstractRender
public boolean equals(java.lang.Object obj)
equals
in class AbstractXYRender
obj
- 要比较的对象
public int hashCode()
hashCode
in class AbstractXYRender
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractXYRender
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString
in class AbstractXYRender
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |