public class Pie3DPlotGlyph extends PiePlotGlyph
PiePlotGlyph.PointAndAngleFIRST_QUA, MOVE_GAP, NO_BOUNDS, OUTSIDE_LABEL_RADIUS_COEFFICIENT, RADIO_PERCENT, radius, radiusPercent, SECOND_QUA, START_ANGLE, THRID_QUA, WHEN_MORE_RADCATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARAbounds, visible| 构造器和说明 |
|---|
Pie3DPlotGlyph() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
adjustLabelBoundsY(java.awt.geom.GeneralPath boundsPath,
PiePlotGlyph.PointAndAngle pointAndAngle,
int resolution,
double minAngle,
double maxAngle,
boolean isLeft) |
protected java.awt.geom.Point2D |
calculateLabelBoundsWithAngle(double centerAngle,
PiePlotGlyph.PointAndAngle pointAndAngle,
int resolution,
java.awt.geom.Rectangle2D labelBounds) |
java.lang.Object |
clone() |
protected void |
deal4EachCategory(int categoryIndex,
int resolution) |
protected void |
dealInsideLabelBounds(DataPoint dataPoint,
int resolution) |
void |
dealLeadLineSeries()
布局牵引线
|
protected void |
dealWidthLine(java.awt.geom.Point2D centerPoint,
PiePlotGlyph.PointAndAngle pointAndAngle) |
void |
draw(java.awt.Graphics g,
int resolution)
draw方法.画出饼图对象.
|
void |
drawShape4Series(java.awt.Graphics g,
int resolution) |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getChartType() |
protected double |
getPercent(int seriesIndex,
int categoryIndex)
值对应的角度 比*
|
java.lang.String |
getPlotGlyphType()
用于JS中的Type类型.
|
java.lang.String |
getSmallIconType()
图表切换时的小图标
|
boolean |
is3DPlotGlyph()
判断是否是3维的图表类型
|
protected boolean |
isNotNeedMoveChangeLabelRadius(java.awt.Shape pie,
java.awt.geom.Rectangle2D labelBounds)
三维饼图暂时不做判断, 先放下, 然后整个按照防重叠处理标签
|
protected boolean |
isSmallerThan(PiePlotGlyph.PointAndAngle pointAndAngle,
PiePlotGlyph.PointAndAngle minPoint) |
void |
layoutDataSeriesGlyph(int resolution)
布局系列的图形对象
|
void |
setDepth(int depth)
设置三维饼图的纵深
|
void |
setProjection(Projection projection)
设置三维饼图的投影类型
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
addSeriesJSON, calculateShapeGlyph4DifferentSub, changeRadius, deal4BestRad, dealLabelBounds, dealLabelBoundsOutPlotBounds, dealLeadLine, dealPlotStyle, dealWithCategoryLabels, dealWithDataSeries, getArc2D, getCenterPoint, getDataPointShape, getExtraTooltipValue, getHalfAngle, getLabelDim, getMaxLabelWidth, getPieDimension, getSeriesCountWithQuadrant, getSeriesStartAngle, getSubType, getTotalValue, getVanChartType, initLabelData, isGuideLineShow, isOutsideLabel, layoutAxisGlyphaddECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, createColors4Cate, createColors4Series, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealPlotHotAttr, doLayout, drawInfo, drawLabel4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotOptionsJSON, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeries, getSeriesSize, getWholeChartBackground, getXDivideUnit, getYDivideUnit, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, isZoom, notDealDataPointLabel, resetClip, selectableChildren, setAutoRefreshPerSecond, setCombinedSize, setConditionCollection, setDataProcessor, setHotHyperLink, setHotTooltipStyle, setIsNullValueBreak, setPlotFillStyle, setPlotStyle, setSeriesDragEnable, setWholeChartBackground, setZoom, skipDealPointHotAttr, trendLineFittinggetBounds, getOutline4Fill, getShape, isInvisible, isVisible, setBounds, setVisibledealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObjectpublic void setProjection(Projection projection)
projection - 投影public void setDepth(int depth)
depth - 深度public boolean equals(java.lang.Object ob)
equals 在类中 PiePlotGlyphpublic void draw(java.awt.Graphics g,
int resolution)
PiePlotGlyphdraw 在接口中 Glyphdraw 在类中 PiePlotGlyphg - 图形对象resolution - 分辨率public java.lang.String getPlotGlyphType()
PlotGlyphgetPlotGlyphType 在类中 PiePlotGlyphpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 PlotGlyphjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在接口中 GlyphtoJSONObject 在类中 PlotGlyphrepo - 请求JSONException - 抛错protected boolean isSmallerThan(PiePlotGlyph.PointAndAngle pointAndAngle, PiePlotGlyph.PointAndAngle minPoint)
isSmallerThan 在类中 PiePlotGlyphpublic void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph 在类中 PiePlotGlyphresolution - 分辨率protected void deal4EachCategory(int categoryIndex,
int resolution)
deal4EachCategory 在类中 PiePlotGlyphprotected boolean adjustLabelBoundsY(java.awt.geom.GeneralPath boundsPath,
PiePlotGlyph.PointAndAngle pointAndAngle,
int resolution,
double minAngle,
double maxAngle,
boolean isLeft)
adjustLabelBoundsY 在类中 PiePlotGlyphprotected void dealWidthLine(java.awt.geom.Point2D centerPoint,
PiePlotGlyph.PointAndAngle pointAndAngle)
dealWidthLine 在类中 PiePlotGlyphprotected java.awt.geom.Point2D calculateLabelBoundsWithAngle(double centerAngle,
PiePlotGlyph.PointAndAngle pointAndAngle,
int resolution,
java.awt.geom.Rectangle2D labelBounds)
public void dealLeadLineSeries()
dealLeadLineSeries 在类中 PiePlotGlyphprotected void dealInsideLabelBounds(DataPoint dataPoint, int resolution)
dealInsideLabelBounds 在类中 PiePlotGlyphpublic boolean is3DPlotGlyph()
is3DPlotGlyph 在类中 PlotGlyphpublic java.lang.String getChartType()
getChartType 在类中 PiePlotGlyphpublic java.lang.String getSmallIconType()
PlotGlyphgetSmallIconType 在类中 PlotGlyphprotected boolean isNotNeedMoveChangeLabelRadius(java.awt.Shape pie,
java.awt.geom.Rectangle2D labelBounds)
public void drawShape4Series(java.awt.Graphics g,
int resolution)
drawShape4Series 在类中 PiePlotGlyphprotected double getPercent(int seriesIndex,
int categoryIndex)
PiePlotGlyphgetPercent 在类中 PiePlotGlyph