public class CompositePiePlotGlyph extends PiePlotGlyph
PiePlotGlyph.PointAndAngle| 限定符和类型 | 字段和说明 |
|---|---|
protected double |
smallPercent |
static double |
SMALLPERCENT_LABEL_RADIUS_COEFFICIENT |
static double |
SUB_CENTER_COEFFICIENT |
FIRST_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| 构造器和说明 |
|---|
CompositePiePlotGlyph() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected double |
changeRadius(int categoryIndex,
int seriesIndex) |
protected double |
deal4BestRad(double resultD,
int categoryIndex) |
void |
draw(java.awt.Graphics g,
int resolution)
draw方法.画出饼图对象.
|
protected java.awt.Shape |
getArc2D(DataPoint dataPoint) |
protected java.awt.geom.Point2D |
getCenterPoint(int seriesIndex,
int categoryIndex) |
java.lang.String |
getChartType() |
protected java.awt.geom.GeneralPath |
getLinePath(int categoryIndex) |
protected double |
getPercent(int seriesIndex,
int categoryIndex)
值对应的角度 比*
|
java.lang.String |
getPlotGlyphType()
用于JS中的Type类型.
|
protected double |
getSeriesStartAngle(int categoryIndex,
int seriesIndex) |
java.lang.String |
getSmallIconType()
图表切换时的小图标
|
protected double |
getStartAngle(int seriesIndex,
int categoryIndex) |
int |
getSubType()
获取复合饼图的孩子图形的类型
|
protected double |
getTotalValue(int categoryIndex,
boolean isMore) |
protected boolean |
isOutsideLabel(int seriesIndex,
int categoryIndex) |
void |
layoutDataSeriesGlyph(int resolution)
布局系列
|
void |
setSmallPercent(double smallPercent)
设置饼图在交互时弹出扇面的分离程度
|
void |
setSubType(int subType)
设置复合饼图的孩子图形的类型
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
addSeriesJSON, adjustLabelBoundsY, calculateLabelBoundsWithAngle, calculateShapeGlyph4DifferentSub, deal4EachCategory, dealInsideLabelBounds, dealLabelBounds, dealLabelBoundsOutPlotBounds, dealLeadLine, dealLeadLineSeries, dealPlotStyle, dealWidthLine, dealWithCategoryLabels, dealWithDataSeries, drawShape4Series, equals, getDataPointShape, getExtraTooltipValue, getHalfAngle, getLabelDim, getMaxLabelWidth, getPieDimension, getSeriesCountWithQuadrant, getTotalValue, getVanChartType, initLabelData, isGuideLineShow, isNotNeedMoveChangeLabelRadius, isSmallerThan, layoutAxisGlyphaddECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, clone, 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, is3DPlotGlyph, 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 static final double SMALLPERCENT_LABEL_RADIUS_COEFFICIENT
public static final double SUB_CENTER_COEFFICIENT
protected double smallPercent
public void setSubType(int subType)
subType - 孩子图形的类型public int getSubType()
getSubType 在类中 PiePlotGlyphpublic void setSmallPercent(double smallPercent)
smallPercent - 分离程度public void draw(java.awt.Graphics g,
int resolution)
PiePlotGlyphdraw 在接口中 Glyphdraw 在类中 PiePlotGlyphg - 图形对象resolution - 分辨率public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph 在类中 PiePlotGlyphresolution - 分辨率protected double deal4BestRad(double resultD,
int categoryIndex)
deal4BestRad 在类中 PiePlotGlyphprotected double getSeriesStartAngle(int categoryIndex,
int seriesIndex)
getSeriesStartAngle 在类中 PiePlotGlyphprotected double getStartAngle(int seriesIndex,
int categoryIndex)
protected double getPercent(int seriesIndex,
int categoryIndex)
PiePlotGlyphgetPercent 在类中 PiePlotGlyphprotected double getTotalValue(int categoryIndex,
boolean isMore)
protected double changeRadius(int categoryIndex,
int seriesIndex)
changeRadius 在类中 PiePlotGlyphprotected java.awt.geom.GeneralPath getLinePath(int categoryIndex)
protected java.awt.geom.Point2D getCenterPoint(int seriesIndex,
int categoryIndex)
getCenterPoint 在类中 PiePlotGlyphprotected boolean isOutsideLabel(int seriesIndex,
int categoryIndex)
isOutsideLabel 在类中 PiePlotGlyphprotected java.awt.Shape getArc2D(DataPoint dataPoint)
getArc2D 在类中 PiePlotGlyphpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在接口中 GlyphtoJSONObject 在类中 PlotGlyphrepo - 请求JSONException - 抛错public java.lang.String getPlotGlyphType()
PlotGlyphgetPlotGlyphType 在类中 PiePlotGlyphpublic java.lang.String getChartType()
getChartType 在类中 PiePlotGlyphpublic java.lang.String getSmallIconType()
PlotGlyphgetSmallIconType 在类中 PlotGlyph