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_TAGcombinedSize, 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, sortChartDatabuidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, dealFormula, dependence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, installAxisGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, modFormulaString, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxisaddSeries2PlotGlyph, 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, setValueTextAttrchangedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXMLprotected boolean isHorizontal
protected double seriesOverlapPercent
protected double categoryIntervalPercent
public void install4PlotGlyph(BarPlotGlyph plotGlyph, ChartData chartData)
plotGlyph - 生成的barplotglyphchartData - 图表的数据protected DataPoint createDataPoint()
createDataPoint 在类中 Plotpublic void setHorizontal(boolean isHorizontal)
public boolean isHorizontal()
public boolean isSupportDataSheet()
isSupportDataSheet 在类中 CategoryPlotpublic boolean isSupportMoreCate()
isSupportMoreCate 在类中 Plotpublic void setSeriesOverlapPercent(double overlapPercent)
overlapPercent - 间隔百分比值
范围: -100% --- 100%public double getSeriesOverlapPercent()
public java.lang.String getPlotName()
public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath 在接口中 BasePlotgetPlotSmallIconPath 在类中 Plotpublic int getDetailType()
getDetailType 在类中 Plotprotected java.lang.String getBaseIconPath()
public void setCategoryIntervalPercent(double catePercent)
catePercent - 分类间隔百分比值
范围: 分类间距, 0% ~ 500%public double getCategoryIntervalPercent()
public boolean match4GUI(Plot plot)
match4GUI 在类中 CategoryPlotplot - 抽象的绘图区对象public boolean matchPlotType(Plot newPlot)
matchPlotType 在类中 PlotnewPlot - 新plotpublic boolean isSupportSeriesDrag()
isSupportSeriesDrag 在类中 Plotpublic void readXML(XMLableReader reader)
GeneralInforeadXML 在接口中 XMLReadablereadXML 在类中 CategoryPlotreader - XML读取器XMLableReaderpublic void writeXML(XMLPrintWriter writer)
GeneralInfowriteXML 在接口中 XMLWriterwriteXML 在类中 CategoryPlotwriter - XML属性输出public boolean equals(java.lang.Object ob)
GeneralInfoequals 在类中 CategoryPlotob - 用 于比较的Objectpublic ChartTypeValueCollection getPlotType()
getPlotType 在类中 Plotprotected boolean isSupportAxisLabelWrapShow()
isSupportAxisLabelWrapShow 在类中 Plotpublic boolean isSupportTooltipSeriesType()
isSupportTooltipSeriesType 在类中 Plotpublic java.lang.String getPlotID()
Plot