public class VanChartMultiPiePlotGlyph extends VanChartPiePlotGlyph
VanChartPiePlotGlyph.PointAndAngle
ANGLE, FIRST_QUA, FOUTH_QUA, leftDown, leftUp, MOVE_GAP, RADIO_PERCENT, radius, RADIUS_MIN_PERCENR, RADIUS_PERCENT_DIFF, radiusPercent, rightDown, rightUp, SECOND_QUA, START_ANGLE, THRID_QUA, WHEN_MORE_RAD
defaultAttrLabel, defaultAttrTooltip, legendBackgroundMap, legendItemList
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
VanChartMultiPiePlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addNotNullSeriesJSON(JSONObject js,
Repository repo,
ChartWebPara para)
系列写入json
|
void |
calculateDataPointPercentValue()
计算数据点的占比,用的是各个数值的绝对值.
|
protected void |
createDataLabel4EverySeries() |
void |
dealPlotHotAttr(Repository repo)
处理图表中Plot的热点属性
|
java.lang.String |
demoImagePath() |
protected AttrBackground |
getAttrBackground(VanChartDataPoint dataPoint)
根据系列色和渐深、渐浅设置背景色
此处获取颜色顺序为
先获取条件显示的点的颜色
其次获取系列条件显示的颜色
最后获取系列默认颜色
|
java.lang.String |
getChartType() |
protected java.lang.String |
getDrillKey() |
int |
getLevelCount()
获取多层饼图的最大层级
|
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
protected void |
initLabelData(VanChartMultiPieDataPoint dataPoint,
double startAngle) |
boolean |
isDrill() |
boolean |
isLight() |
boolean |
isTreeSeries()
是否树形结构数据
|
void |
layoutDataSeriesGlyph(int resolution)
一个饼图 是一个分类.
|
protected VanChartMultiPieDataPoint |
searchRootPoint(VanChartMultiPieDataPoint dataPoint)
找到父节点
|
void |
setDrill(boolean isDrill) |
void |
setLight(boolean isLight) |
bubbleSort, clearList, createColors4Series, dealEachArea, dealLabelBoundsOverLay, getEndAngle, getInnerRadiusPercent, getLabelDim, getLegendMarkerIcon, getPercent, getRadiusGlyph, getRoseType, getSeriesStartAngle, getStartAngle, getWholeAngle, isExistAttrByResult, isExistOuterLabels, isSupportRotation, setEndAngle, setInnerRadiusPercent, setRadiusGlyph, setRoseType, setStartAngle, setSupportRotation, sortList
addAlphaJSON, addBorderJSON, addHyperlinkJSON, addLabelJSON, addNullLabelJSON, addOtherJSON, addSeriesJSON, addSeriesJSONWithCate2Series, addXAxisJSON, addYAxisJSON, allNullValue, changeInfoWithCondition, createColors4Legend, createDataLabel4DataPointWithCondition, createDataLabel4EveryPoint, createDataPointLabelAfterInstallAxisGlyph, createDataSheetLegendItems, createLegendItems, dealDataPointLabel, dealMarkerIconCondition, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, draw, drawInfo, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBorder, getAttrLabel, getAttrLineColor, getAxisPlotType, getCategoryNum, getChartID, getDataPointLabelBoundsWithPosition, getDefaultAttrAlpha, getDefaultAttrBorder, getDefaultAttrBubble, getDefaultAttrLabel, getDefaultAttrMarker, getDefaultAttrTooltip, getDefaultColors, getDefaultColors, getHyperLinkParas, getLabelText, getLegendItemList, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getPointkey, getPointValue, getSeries, getSeriesFromAll, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isSupportEmptyData, layoutAxisGlyph, layoutAxisGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullData
addECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, doLayout, drawInfo, drawLabel4Series, drawShape4Series, equals, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeriesSize, getVanChartType, getWholeChartBackground, getXDivideUnit, getYDivideUnit, is3DPlotGlyph, isDataPointXNotInPlotBounds, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, isZoom, notDealDataPointLabel, resetClip, selectableChildren, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, toJSONObject, trendLineFitting
getBounds, getOutline4Fill, getShape, isInvisible, isVisible, setBounds, setVisible
dealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObject
public boolean isLight()
public void setLight(boolean isLight)
public boolean isDrill()
public void setDrill(boolean isDrill)
public int getLevelCount()
public void calculateDataPointPercentValue()
protected void createDataLabel4EverySeries()
public void layoutDataSeriesGlyph(int resolution)
VanChartPiePlotGlyph
layoutDataSeriesGlyph
在类中 VanChartPiePlotGlyph
resolution
- 分辨率protected void initLabelData(VanChartMultiPieDataPoint dataPoint, double startAngle)
protected AttrBackground getAttrBackground(VanChartDataPoint dataPoint)
getAttrBackground
在类中 VanChartPlotGlyph
dataPoint
- protected VanChartMultiPieDataPoint searchRootPoint(VanChartMultiPieDataPoint dataPoint)
dataPoint
- public java.lang.String getChartType()
getChartType
在类中 VanChartPiePlotGlyph
protected void addNotNullSeriesJSON(JSONObject js, Repository repo, ChartWebPara para) throws JSONException
addNotNullSeriesJSON
在类中 VanChartPiePlotGlyph
js
- json对象repo
- 请求para
- JSONException
- 抛错protected java.lang.String getDrillKey()
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
getPlotOptionsJSON
在类中 VanChartPiePlotGlyph
repo
- 请求isJsDraw
- 动态展示para
- JSONException
- 抛出问题public java.lang.String demoImagePath()
demoImagePath
在类中 VanChartPiePlotGlyph
public void dealPlotHotAttr(Repository repo)
dealPlotHotAttr
在类中 PlotGlyph<VanChartDataSeries>
repo
- 请求.public boolean isTreeSeries()
isTreeSeries
在类中 VanChartPlotGlyph