|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.plot.AbstractPlot
com.ijchart.xychart.plot.AbstractAxisPlot
com.ijchart.xychart.plot.CategoryPlot
com.ijchart.xychart.plot.combine.AbstractCombineCategoryPlot
com.ijchart.xychart.plot.combine.CombineCategoryAxisCategoryPlot
public class CombineCategoryAxisCategoryPlot
Title: IJChart
Description: a chart library for the Java(tm) platform.
多个CategoryPlot之间共享Category坐标轴.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.plot.combine.AbstractCombineCategoryPlot |
---|
DEFAULT_PLOT_GAP, plotGap, subPlots, subPlotWight |
Fields inherited from class com.ijchart.xychart.plot.CategoryPlot |
---|
DEFAULT_CATEGORY_CROSSHAIR_LOCKED_ON_DATA, DEFAULT_CATEGORY_CROSSHAIR_VISIBLE |
Constructor Summary | |
---|---|
CombineCategoryAxisCategoryPlot()
|
Method Summary | |
---|---|
protected double |
calculateMaxValueAxisSpace(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea)
计算最大的value坐标轴空间,即宽度或高度. |
protected void |
changetPlotInsets(double maxSpace)
改变plot的inset的大小,使得在plot有多个坐标轴的时候也能对齐. |
java.lang.Object |
clone()
克隆本对象. |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartShapeCollection chartShapes)
绘制图表的plot区域,子类需要实现此方法. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
PlotType |
getPlotType()
返回描述此plot的字符串. |
int |
hashCode()
计算hashcode. |
Methods inherited from class com.ijchart.xychart.plot.combine.AbstractCombineCategoryPlot |
---|
addSubPlot, addSubPlot, clearSubPlots, drawCrosshair, getAxisCountByPosition, getPlotGap, getPlotWight, getRenders, getSubPlots, removeSubPlot, setDomainCrosshairLockedOnData, setDomainCrosshairPaint, setDomainCrosshairStroke, setDomainCrosshairVisible, setPlotGap, setPlotWight, setValueCrosshairLockedOnData, setValueCrosshairPaint, setValueCrosshairStroke, setValueCrosshairVisible, zoomValueAxes |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ijchart.xychart.listener.IRenderChangeListener |
---|
renderChanged |
Constructor Detail |
---|
public CombineCategoryAxisCategoryPlot()
Method Detail |
---|
public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, ChartShapeCollection chartShapes)
draw
in class CategoryPlot
g2
- Graphics2D 图形设备(打印机或屏幕) (不可为null).
plotArea
- Rectangle2D plot绘制区域 (不可为null).
chartShapes
- ChartShapeCollection chart区域图形集合 (不可为null).
protected void changetPlotInsets(double maxSpace)
maxSpace
- double 最大的坐标轴空间,即宽度或高度.
protected double calculateMaxValueAxisSpace(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea)
g2
- Graphics2D 图形设备(打印机或屏幕) (不可为null).
plotArea
- Rectangle2D plot绘制区域 (不可为null).
public PlotType getPlotType()
getPlotType
in class CategoryPlot
public boolean equals(java.lang.Object obj)
equals
in class AbstractCombineCategoryPlot
obj
- 要比较的对象 (可为null).
public int hashCode()
hashCode
in class AbstractCombineCategoryPlot
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractCombineCategoryPlot
java.lang.CloneNotSupportedException
- if the cloning is not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |