public class PiePlot extends Plot
combinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, XML_TAG, Y_AXIS
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(java.lang.Class<? extends Plot> obClass)
判断图表类型是否是obClass
|
protected void |
addSeriesByIndex(int from,
int to,
PlotGlyph plotGlyph,
ChartData chartData) |
java.lang.Object |
clone()
克隆
|
protected ChartData |
create65Data4New(ChartData cd)
纠正: 一个系列多个分类 和一个分类多个系列 都会画一个完整的饼图
饼图: 以前是 一个系列.
|
protected DataPoint |
createDataPoint() |
PlotGlyph |
createPlotGlyph(ChartData chartData)
创建相关PlotGlyph
|
ChartData |
defaultChartData()
默认数据.
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
int |
getDetailType()
具体得类型
|
java.util.HashMap<java.lang.String,BaseFormula> |
getHyperLinkEditorMap()
得到当前图表超链参数下拉框中有的选项
|
int[] |
getInteractivePaneArrayThatNotSurpport()
返回热点提示界面中, 不支持的功能界面数组
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
double |
getSmallPercent() |
int |
getSubType() |
void |
install4PlotGlyph(PiePlotGlyph plotGlyph,
ChartData chartData)
初始化plot
|
boolean |
isHaveAxis()
没有坐标轴
|
boolean |
isSupportCategoryFilter()
是否支持 分类过滤
|
boolean |
isSupportLeadLine()
是否支持牵引线
|
boolean |
isSupportSeriesDrag()
持系列拖拽
|
boolean |
match4GUI(Plot plot)
gui判断
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setSmallPercent(double smallPercent) |
void |
setSubType(int subType) |
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
addSeries2PlotGlyph, addSeriesByIndex, addSeriesByIndexWithoutNull, anyChartAdvancedInteractionUse, buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, clearConditionAttrAndRenewLegend, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataLabelWithDataPoint4Map, createDataPointLabel, createDataSeries, createDataSheetGlyph, createLegendGlyph, createLegendItems, createLegendItems, createNullChartData, dealColorCondition, dealCondition, dealFormula, dealLineCondition, dealNullPointAndCategoryNum, defaultSecondMoreCate, defaultThirdMoreCate, dependence, exsitMarkerType, getAlertLinePaneTitle, getAutoRefreshPerSecond, getAxis, getAxis, getCategoryNameTextAttr, getCombinedSize, getConditionCollection, getDataProcessor, getDataProcessor4Definition, getDataSheet, getHotHyperLink, getHotTooltipStyle, getLegend, getLegendMarkerIcon, getLegendMarkerIcon4Line, getMaxValueFromData, getMaxValueFromData, getMinValueFromData, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSecondAxis, getSeriesIndexConditionCollection, getUnitTextAttr, getValueTextAttr, getxAxis, getyAxis, hasEffect, hyperLinkParas, install4PlotGlyph, is3D, isExsitLineStyle, isGisKindLabel, isInteractiveAxisTooltip, isMapKindLabel, isMapPlot, isMeterPlot, isNeedRenameHyperLinkPane, isNullValueBreak, isOnlyIntervalBackground, isSeriesDragEnable, isShowAllDataPointLabel, isShowCateName, isSupport3D, isSupportAddress4Gis, isSupportAnimate, isSupportAutoRefresh, isSupportAxisLabelWrapShow, isSupportAxisLineStyle, isSupportAxisReverse, isSupportAxisTip, isSupportBorder, isSupportCate, isSupportDataLabelAttr, isSupportDataSeriesAttr, isSupportDataSeriesCondition, isSupportDataSheet, isSupportDelimiter, isSupportIntervalBackground, isSupportLegend, isSupportMoreCate, isSupportPlotBackground, isSupportSeriesFilter, isSupportTooltipInInteractivePane, isSupportTooltipSeriesType, isSupportTrendLine, isSupportValuePercent, isSupportZoomCategoryAxis, isSupportZoomDirection, isUseSecondAxis, isValidPlot, modFormulaString, needAnalysisLinePane, readerAttr, readPlotXML, resetNullLegendAttr, setAutoRefreshPerSecond, setCategoryNameTextAttr, setCombinedSize, setConditionCollection, setDataProcessor, setDataSheet, setHotHyperLink, setHotTooltipStyle, setInteractiveAxisTooltip, setLegend, setNullValueBreak, setPlotFillStyle, setPlotStyle, setSecondAxis, setSecondShowUnit, setSeriesDragEnable, setShowCateName, setShowUnit, setUnitTextAttr, setValueTextAttr, setxAxis, setyAxis
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
public PiePlot()
public PiePlot(int type)
type
- Pie_Normal: 默认饼图. Pie_Pie: 复合饼图 Pie_Bar: 复合柱形饼图public PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph
在类中 Plot
chartData
- 图表相关的数据protected DataPoint createDataPoint()
createDataPoint
在类中 Plot
protected ChartData create65Data4New(ChartData cd)
public void install4PlotGlyph(PiePlotGlyph plotGlyph, ChartData chartData)
plotGlyph
- plot类型glyphchartData
- 图表数据.protected void addSeriesByIndex(int from, int to, PlotGlyph plotGlyph, ChartData chartData)
addSeriesByIndex
在类中 Plot
public boolean match4GUI(Plot plot)
public boolean matchPlotType(Plot newPlot)
matchPlotType
在类中 Plot
newPlot
- 新plotpublic boolean isSupportSeriesDrag()
isSupportSeriesDrag
在类中 Plot
public boolean isSupportCategoryFilter()
isSupportCategoryFilter
在类中 Plot
public boolean isSupportLeadLine()
isSupportLeadLine
在类中 Plot
public boolean isHaveAxis()
isHaveAxis
在类中 Plot
public ChartData defaultChartData()
defaultChartData
在类中 Plot
public int[] getInteractivePaneArrayThatNotSurpport()
Plot
public void writeXML(XMLPrintWriter writer)
GeneralInfo
public void readXML(XMLableReader reader)
GeneralInfo
readXML
在接口中 XMLReadable
readXML
在类中 Plot
reader
- XML读取器XMLableReader
public boolean equals(java.lang.Object ob)
GeneralInfo
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
GeneralInfo
clone
在接口中 FCloneable
clone
在类中 Plot
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void setSubType(int subType)
public int getSubType()
public void setSmallPercent(double smallPercent)
public double getSmallPercent()
public java.lang.String getPlotName()
public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath
在接口中 BasePlot
getPlotSmallIconPath
在类中 Plot
public int getDetailType()
getDetailType
在类中 Plot
public ChartTypeValueCollection getPlotType()
getPlotType
在类中 Plot
public boolean accept(java.lang.Class<? extends Plot> obClass)
public java.lang.String getPlotID()
Plot
public java.util.HashMap<java.lang.String,BaseFormula> getHyperLinkEditorMap()
Plot
getHyperLinkEditorMap
在接口中 BasePlot
getHyperLinkEditorMap
在类中 Plot