public class Pie3DPlotGlyph extends PiePlotGlyph
PiePlotGlyph.PointAndAngle
FIRST_QUA, MOVE_GAP, NO_BOUNDS, OUTSIDE_LABEL_RADIUS_COEFFICIENT, RADIO_PERCENT, radius, radiusPercent, SECOND_QUA, START_ANGLE, THRID_QUA, WHEN_MORE_RAD
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, 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, layoutAxisGlyph
addECNameToHyperLink, 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, 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 void setProjection(Projection projection)
projection
- 投影public void setDepth(int depth)
depth
- 深度public boolean equals(java.lang.Object ob)
equals
在类中 PiePlotGlyph
public void draw(java.awt.Graphics g, int resolution)
PiePlotGlyph
draw
在接口中 Glyph
draw
在类中 PiePlotGlyph
g
- 图形对象resolution
- 分辨率public java.lang.String getPlotGlyphType()
PlotGlyph
getPlotGlyphType
在类中 PiePlotGlyph
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 PlotGlyph
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 PlotGlyph
repo
- 请求JSONException
- 抛错protected boolean isSmallerThan(PiePlotGlyph.PointAndAngle pointAndAngle, PiePlotGlyph.PointAndAngle minPoint)
isSmallerThan
在类中 PiePlotGlyph
public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 PiePlotGlyph
resolution
- 分辨率protected void deal4EachCategory(int categoryIndex, int resolution)
deal4EachCategory
在类中 PiePlotGlyph
protected boolean adjustLabelBoundsY(java.awt.geom.GeneralPath boundsPath, PiePlotGlyph.PointAndAngle pointAndAngle, int resolution, double minAngle, double maxAngle, boolean isLeft)
adjustLabelBoundsY
在类中 PiePlotGlyph
protected void dealWidthLine(java.awt.geom.Point2D centerPoint, PiePlotGlyph.PointAndAngle pointAndAngle)
dealWidthLine
在类中 PiePlotGlyph
protected java.awt.geom.Point2D calculateLabelBoundsWithAngle(double centerAngle, PiePlotGlyph.PointAndAngle pointAndAngle, int resolution, java.awt.geom.Rectangle2D labelBounds)
public void dealLeadLineSeries()
dealLeadLineSeries
在类中 PiePlotGlyph
protected void dealInsideLabelBounds(DataPoint dataPoint, int resolution)
dealInsideLabelBounds
在类中 PiePlotGlyph
public boolean is3DPlotGlyph()
is3DPlotGlyph
在类中 PlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PiePlotGlyph
public java.lang.String getSmallIconType()
PlotGlyph
getSmallIconType
在类中 PlotGlyph
protected boolean isNotNeedMoveChangeLabelRadius(java.awt.Shape pie, java.awt.geom.Rectangle2D labelBounds)
public void drawShape4Series(java.awt.Graphics g, int resolution)
drawShape4Series
在类中 PiePlotGlyph
protected double getPercent(int seriesIndex, int categoryIndex)
PiePlotGlyph
getPercent
在类中 PiePlotGlyph