public class CustomPlot extends CategoryPlot
GAP_BETWEEN_PLOTS, isStacked, XML_TAGcombinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, Y_AXIS| 构造器和说明 |
|---|
CustomPlot()
构造组合图绘图区
默认 第二值轴在绘图区右侧 并且默认的条件属性为CustomAttr
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(java.lang.Class<? extends Plot> obClass)
界面是否接入对象
|
void |
buidExecuteSequenceList(java.util.List list,
Calculator calculator)
预先计算聚合图表 表间公式顺序.
|
void |
clearConditionAttrAndRenewLegend(Plot oldPlot)
清空条件属性, 并刷新.
|
java.lang.Object |
clone()
克隆
|
CustomPlotGlyph |
createCustomPlotGlyph()
创建plotGlyph
|
protected DataSeries |
createDataSeries(int seriesIndex)
生成对应的系列, 如系列为面积图的面积系列(DataSeries4Area)
|
PlotGlyph |
createPlotGlyph(ChartData chartData)
根据ChartData生成对应的PlotGlyph
|
void |
dealFormula(Calculator calculator)
需要覆盖所有带坐标轴的Plot 处理条件显示中的公式.
|
ChartData |
defaultChartData()
默认图表数据
|
void |
dependence(CalculatorProvider ca,
java.util.List<java.lang.String> result) |
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
java.lang.String[] |
getAlertLinePaneTitle() |
AreaPlot |
getAreaPlotStack()
返回组合图中系列为面积图的对应属性
|
Bar2DPlot |
getBar2DPlot()
返回组合图中系列为柱形图的对应属性
|
Bar2DPlot |
getBar2DPlotStack()
返回组合图中系列为堆积柱形图的对应属性.
|
ConditionCollection |
getConditionCollection()
返回条件显示,customPlot需要在拿之前
|
ConditionCollection |
getCustomTypeCondition() |
int |
getDetailType()
具体得类型
|
protected LineMarkerIcon |
getLegendMarkerIcon(DataSeries dataSeries,
java.awt.Color[] colors)
根据序号,从SeriesCollection中生成LineMarkerIcon,
LinePlot, CustomPlot, XYPlot和StockPlot, RadarPlot, BubblePlot不同.
|
LinePlot |
getLinePlot()
返回组合图中系列为折线图的对应属性
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换 ,默认返回二维柱形图小图标
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
void |
install4PlotGlyph(CustomPlotGlyph plotGlyph,
ChartData chartData)
根据ChartData初始化PlotGlyph, 并添加系列点
|
protected boolean |
isSupportAxisLabelWrapShow() |
boolean |
isSupportAxisReverse()
返回是否支持 分类轴/值轴逆序.默认不支持
|
boolean |
isSupportDataLabelAttr()
默认不支持标签属性.
|
boolean |
isSupportTooltipSeriesType()
数据点提示是否支持显示多系列值
|
boolean |
isSupportZoomCategoryAxis()
支持分类轴放缩
|
boolean |
isUseSecondAxis()
判断条件中是否用第三坐标轴
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
modFormulaString(MOD_COLUMN_ROW mod)
在报表行列变动时 公式的联动.
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setAreaPlotStack(AreaPlot areaPlotStack)
设置组合图中系列为堆积面积图的对应属性
|
void |
setBar2DPlot(Bar2DPlot bar2DPlot)
设置组合图中系列为柱形图的对应属性.
|
void |
setBar2DPlotStack(Bar2DPlot bar2DPlotStack)
设置组合图中系列为堆积柱形图的对应属性
|
void |
setLinePlot(LinePlot linePlot)
设置组合图中系列为折线图的对应属性
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
getMaxValueFromData, install4PlotGlyph, installAxisGlyph, isInCategoryField, isStacked, isSupportCate, isSupportDataSheet, match4GUI, setStacked, sortChartDatabuildGenealogyAndCheckSheetExecuteSequence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, installAxisGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxisaddSeries2PlotGlyph, addSeriesByIndex, addSeriesByIndex, addSeriesByIndexWithoutNull, anyChartAdvancedInteractionUse, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataLabelWithDataPoint4Map, createDataPoint, createDataPointLabel, createDataSheetGlyph, createLegendGlyph, createLegendItems, createLegendItems, createNullChartData, dealColorCondition, dealCondition, dealLineCondition, dealNullPointAndCategoryNum, defaultSecondMoreCate, defaultThirdMoreCate, exsitMarkerType, getAutoRefreshPerSecond, getAxis, getAxis, getCategoryNameTextAttr, getCombinedSize, getDataProcessor, getDataProcessor4Definition, getDataSheet, getHotHyperLink, getHotTooltipStyle, getHyperLinkEditorMap, getInteractivePaneArrayThatNotSurpport, getLegend, 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, isSupportDataSeriesAttr, isSupportDataSeriesCondition, isSupportDelimiter, isSupportLeadLine, isSupportLegend, isSupportMoreCate, isSupportPlotBackground, isSupportSeriesDrag, isSupportSeriesFilter, isSupportTooltipInInteractivePane, isSupportTrendLine, isSupportValuePercent, isSupportZoomDirection, 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, writeGeneralInfoXMLpublic boolean isSupportZoomCategoryAxis()
isSupportZoomCategoryAxis 在类中 Plotpublic void setBar2DPlot(Bar2DPlot bar2DPlot)
public Bar2DPlot getBar2DPlot()
public void setBar2DPlotStack(Bar2DPlot bar2DPlotStack)
public Bar2DPlot getBar2DPlotStack()
public void setLinePlot(LinePlot linePlot)
public LinePlot getLinePlot()
public void setAreaPlotStack(AreaPlot areaPlotStack)
public AreaPlot getAreaPlotStack()
public boolean isSupportDataLabelAttr()
isSupportDataLabelAttr 在类中 Plotpublic java.lang.String getPlotName()
public java.lang.String[] getAlertLinePaneTitle()
getAlertLinePaneTitle 在类中 Plotpublic PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph 在类中 PlotchartData - 图表数据public CustomPlotGlyph createCustomPlotGlyph()
public ConditionCollection getCustomTypeCondition()
public ConditionCollection getConditionCollection()
getConditionCollection 在类中 Plotprotected DataSeries createDataSeries(int seriesIndex)
createDataSeries 在类中 Plotpublic void install4PlotGlyph(CustomPlotGlyph plotGlyph, ChartData chartData)
chartData - 图表数据plotGlyph - 绘图区public boolean isUseSecondAxis()
isUseSecondAxis 在类中 Plotpublic boolean matchPlotType(Plot newPlot)
matchPlotType 在类中 PlotnewPlot - 新绘图protected LineMarkerIcon getLegendMarkerIcon(DataSeries dataSeries, java.awt.Color[] colors)
PlotgetLegendMarkerIcon 在类中 Plotpublic void clearConditionAttrAndRenewLegend(Plot oldPlot)
clearConditionAttrAndRenewLegend 在类中 PlotoldPlot - 旧绘图public ChartData defaultChartData()
defaultChartData 在类中 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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
GeneralInfoclone 在接口中 FCloneableclone 在类中 CategoryPlotjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath 在接口中 BasePlotgetPlotSmallIconPath 在类中 Plotpublic ChartTypeValueCollection getPlotType()
getPlotType 在类中 Plotpublic int getDetailType()
getDetailType 在类中 Plotprotected boolean isSupportAxisLabelWrapShow()
isSupportAxisLabelWrapShow 在类中 Plotpublic boolean isSupportTooltipSeriesType()
isSupportTooltipSeriesType 在类中 Plotpublic boolean isSupportAxisReverse()
isSupportAxisReverse 在类中 CategoryPlotpublic void dependence(CalculatorProvider ca, java.util.List<java.lang.String> result)
dependence 在类中 RectanglePlotpublic void dealFormula(Calculator calculator)
dealFormula 在类中 RectanglePlotcalculator - 公式计算器public void buidExecuteSequenceList(java.util.List list,
Calculator calculator)
buidExecuteSequenceList 在类中 RectanglePlotcalculator - 公式计算器list - 表间变动listpublic void modFormulaString(MOD_COLUMN_ROW mod)
modFormulaString 在类中 RectanglePlotmod - 行列变动public boolean accept(java.lang.Class<? extends Plot> obClass)