public abstract class BarPlot extends CategoryPlot
限定符和类型 | 字段和说明 |
---|---|
protected double |
categoryIntervalPercent
分类间距, 0% ~ 500%, 上限理论值为无穷
|
protected boolean |
isHorizontal
是否水平 true: 条形图 false: 柱形图
|
protected double |
seriesOverlapPercent
系列重叠比例, -100% ~ 100%
|
GAP_BETWEEN_PLOTS, isStacked, XML_TAG
combinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, Y_AXIS
构造器和说明 |
---|
BarPlot() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(java.lang.Class<? extends Plot> obClass)
判断图表类型是否是obClass
|
protected DataPoint |
createDataPoint() |
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
protected java.lang.String |
getBaseIconPath() |
double |
getCategoryIntervalPercent()
返回 分类间隔百分比值
|
int |
getDetailType()
具体得类型
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
double |
getSeriesOverlapPercent()
返回系列间隔百分比值
|
void |
install4PlotGlyph(BarPlotGlyph plotGlyph,
ChartData chartData)
初始化BarPlotGlyph, 将BarPlot的属性同步到BarPlotGlyph
|
boolean |
isHorizontal()
是否横向绘图
|
protected boolean |
isSupportAxisLabelWrapShow() |
boolean |
isSupportDataSheet()
不支持数据表功能
|
boolean |
isSupportMoreCate()
条形图不支持多分类坐标轴.
|
boolean |
isSupportSeriesDrag()
支持系列拖拽
|
boolean |
isSupportTooltipSeriesType()
数据点提示是否支持显示多系列值
|
boolean |
match4GUI(Plot plot)
两种plot是否相符
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setCategoryIntervalPercent(double catePercent)
设置分类间隔百分比值(和柱形的百分比)
|
void |
setHorizontal(boolean isHorizontal)
设置是否横向绘图.
|
void |
setSeriesOverlapPercent(double overlapPercent)
设置系列间隔百分比(和柱形的百分比)
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
clone, getMaxValueFromData, install4PlotGlyph, installAxisGlyph, isInCategoryField, isStacked, isSupportAxisReverse, isSupportCate, setStacked, sortChartData
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, dealFormula, dependence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, installAxisGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, modFormulaString, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxis
addSeries2PlotGlyph, addSeriesByIndex, addSeriesByIndex, addSeriesByIndexWithoutNull, anyChartAdvancedInteractionUse, clearConditionAttrAndRenewLegend, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataLabelWithDataPoint4Map, createDataPointLabel, createDataSeries, createDataSheetGlyph, createLegendGlyph, createLegendItems, createLegendItems, createNullChartData, createPlotGlyph, dealColorCondition, dealCondition, dealLineCondition, dealNullPointAndCategoryNum, defaultChartData, defaultSecondMoreCate, defaultThirdMoreCate, exsitMarkerType, getAlertLinePaneTitle, getAutoRefreshPerSecond, getAxis, getAxis, getCategoryNameTextAttr, getCombinedSize, getConditionCollection, getDataProcessor, getDataProcessor4Definition, getDataSheet, getHotHyperLink, getHotTooltipStyle, getHyperLinkEditorMap, getInteractivePaneArrayThatNotSurpport, getLegend, getLegendMarkerIcon, getLegendMarkerIcon4Line, getMaxValueFromData, getMaxValueFromData, getMinValueFromData, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSeriesIndexConditionCollection, getUnitTextAttr, getValueTextAttr, hasEffect, hyperLinkParas, install4PlotGlyph, is3D, isExsitLineStyle, isGisKindLabel, isHaveAxis, isMapKindLabel, isMapPlot, isMeterPlot, isNeedRenameHyperLinkPane, isNullValueBreak, isOnlyIntervalBackground, isSeriesDragEnable, isShowAllDataPointLabel, isShowCateName, isSupport3D, isSupportAddress4Gis, isSupportAnimate, isSupportAutoRefresh, isSupportAxisLineStyle, isSupportCategoryFilter, isSupportDataLabelAttr, isSupportDataSeriesAttr, isSupportDataSeriesCondition, isSupportDelimiter, isSupportLeadLine, isSupportLegend, isSupportPlotBackground, isSupportSeriesFilter, isSupportTooltipInInteractivePane, isSupportTrendLine, isSupportValuePercent, isSupportZoomCategoryAxis, isSupportZoomDirection, isUseSecondAxis, isValidPlot, needAnalysisLinePane, readerAttr, readPlotXML, resetNullLegendAttr, setAutoRefreshPerSecond, setCategoryNameTextAttr, setCombinedSize, setConditionCollection, setDataProcessor, setDataSheet, setHotHyperLink, setHotTooltipStyle, setLegend, setNullValueBreak, setPlotFillStyle, setPlotStyle, setSecondShowUnit, setSeriesDragEnable, setShowCateName, setShowUnit, setUnitTextAttr, setValueTextAttr
changedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXML
protected boolean isHorizontal
protected double seriesOverlapPercent
protected double categoryIntervalPercent
public void install4PlotGlyph(BarPlotGlyph plotGlyph, ChartData chartData)
plotGlyph
- 生成的barplotglyphchartData
- 图表的数据protected DataPoint createDataPoint()
createDataPoint
在类中 Plot
public void setHorizontal(boolean isHorizontal)
public boolean isHorizontal()
public boolean isSupportDataSheet()
isSupportDataSheet
在类中 CategoryPlot
public boolean isSupportMoreCate()
isSupportMoreCate
在类中 Plot
public void setSeriesOverlapPercent(double overlapPercent)
overlapPercent
- 间隔百分比值
范围: -100% --- 100%public double getSeriesOverlapPercent()
public java.lang.String getPlotName()
public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath
在接口中 BasePlot
getPlotSmallIconPath
在类中 Plot
public int getDetailType()
getDetailType
在类中 Plot
protected java.lang.String getBaseIconPath()
public void setCategoryIntervalPercent(double catePercent)
catePercent
- 分类间隔百分比值
范围: 分类间距, 0% ~ 500%public double getCategoryIntervalPercent()
public boolean match4GUI(Plot plot)
match4GUI
在类中 CategoryPlot
plot
- 抽象的绘图区对象public boolean matchPlotType(Plot newPlot)
matchPlotType
在类中 Plot
newPlot
- 新plotpublic boolean isSupportSeriesDrag()
isSupportSeriesDrag
在类中 Plot
public void readXML(XMLableReader reader)
GeneralInfo
readXML
在接口中 XMLReadable
readXML
在类中 CategoryPlot
reader
- XML读取器XMLableReader
public void writeXML(XMLPrintWriter writer)
GeneralInfo
writeXML
在接口中 XMLWriter
writeXML
在类中 CategoryPlot
writer
- XML属性输出public boolean equals(java.lang.Object ob)
GeneralInfo
equals
在类中 CategoryPlot
ob
- 用 于比较的Objectpublic ChartTypeValueCollection getPlotType()
getPlotType
在类中 Plot
protected boolean isSupportAxisLabelWrapShow()
isSupportAxisLabelWrapShow
在类中 Plot
public boolean isSupportTooltipSeriesType()
isSupportTooltipSeriesType
在类中 Plot
public java.lang.String getPlotID()
Plot