public class CategoryAxis extends Axis
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
axisData, axisReversed, position| 构造器和说明 |
|---|
CategoryAxis()
构造默认的分类坐标轴
|
CategoryAxis(int position)
构造带位置参数的分类坐标轴
|
CategoryAxis(int position,
boolean isDate) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
AxisGlyph |
createAxisGlyph(ChartData chartData)
根据ChartData创建AxisGlyph.
|
boolean |
equals(java.lang.Object ob) |
int |
getMainType()
返回主要日期类型
|
int |
getSecondType()
返回次要日期类型
|
java.util.ArrayList<TimeSwitchAttr> |
getTimeSwitchMap() |
void |
initAxisGlyph(CategoryAxisGlyph axisGlyph,
ChartData chartData)
根据ChartData初始化坐标轴 属性.
|
boolean |
isCategoryAxis()
返回 是否为分类坐标轴
|
boolean |
isDate()
返回 是否为日期型坐标轴
|
boolean |
isSupportAxisLabelWrap()
是否支持坐标轴标签换行
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setDate(boolean date)
设置是否为日期类型坐标轴 true 表示是日期分类坐标轴 false 表示不是日期坐标轴
|
void |
setMainType(int mainType)
设置主要日期类型
|
void |
setSecondType(int secondType)
设置次要日期类型
|
void |
writeXML(XMLPrintWriter writer)
输出xml
|
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, checkSimpleAxis4PlotDemo, dealFormula, dependence, diffWithTimeZone, getAxisColor, getAxisStyle, getFormat, getLabelNumber, getMainGridColor, getMainGridStyle, getMainUnit, getMaxValue, getMinValue, getPosition, getSecTickMarkType, getSecUnit, getTextAttr, getTickMarkType, getTitle, hasAxisReversed, initAxisGlyph, isArrowShow, isCustomMainUnit, isCustomMaxValue, isCustomMinValue, isCustomSecUnit, isLog, isPercentage, isShowAxisLabel, isZoom, modFormulaString, setArrowShow, setAxisColor, setAxisReversed, setAxisStyle, setCustomMainUnit, setCustomMaxValue, setCustomMinValue, setCustomSecUnit, setFormat, setLabelIntervalNumber, setLog, setMainGridColor, setMainGridStyle, setMainUnit, setMaxValue, setMinValue, setPercentage, setPosition, setSecTickMarkType, setSecUnit, setShowAxisLabel, setTextAttr, setTickMarkType, setTitle, setZoompublic static final java.lang.String XML_TAG
public CategoryAxis()
public CategoryAxis(int position)
position - 坐标轴位置
Constants.LEFT Constants.RIGHT Constants.TOP Constants.RIGHTpublic CategoryAxis(int position,
boolean isDate)
public AxisGlyph createAxisGlyph(ChartData chartData)
createAxisGlyph 在类中 AxischartData - 数据public void initAxisGlyph(CategoryAxisGlyph axisGlyph, ChartData chartData)
axisGlyph - 坐标轴绘图区chartData - 数据public void setMainType(int mainType)
public int getMainType()
public void setSecondType(int secondType)
public int getSecondType()
public void setDate(boolean date)
public void readXML(XMLableReader reader)
readXML 在接口中 XMLReadablereadXML 在类中 Axisreader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 Axisjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public boolean isSupportAxisLabelWrap()
isSupportAxisLabelWrap 在类中 Axispublic java.util.ArrayList<TimeSwitchAttr> getTimeSwitchMap()
getTimeSwitchMap 在类中 Axispublic boolean isCategoryAxis()
isCategoryAxis 在类中 Axis