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_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
构造器和说明 |
---|
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, layoutAxisGlyph
addECNameToHyperLink, 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, 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 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
在类中 PiePlotGlyph
public void setSmallPercent(double smallPercent)
smallPercent
- 分离程度public void draw(java.awt.Graphics g, int resolution)
PiePlotGlyph
draw
在接口中 Glyph
draw
在类中 PiePlotGlyph
g
- 图形对象resolution
- 分辨率public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 PiePlotGlyph
resolution
- 分辨率protected double deal4BestRad(double resultD, int categoryIndex)
deal4BestRad
在类中 PiePlotGlyph
protected double getSeriesStartAngle(int categoryIndex, int seriesIndex)
getSeriesStartAngle
在类中 PiePlotGlyph
protected double getStartAngle(int seriesIndex, int categoryIndex)
protected double getPercent(int seriesIndex, int categoryIndex)
PiePlotGlyph
getPercent
在类中 PiePlotGlyph
protected double getTotalValue(int categoryIndex, boolean isMore)
protected double changeRadius(int categoryIndex, int seriesIndex)
changeRadius
在类中 PiePlotGlyph
protected java.awt.geom.GeneralPath getLinePath(int categoryIndex)
protected java.awt.geom.Point2D getCenterPoint(int seriesIndex, int categoryIndex)
getCenterPoint
在类中 PiePlotGlyph
protected boolean isOutsideLabel(int seriesIndex, int categoryIndex)
isOutsideLabel
在类中 PiePlotGlyph
protected java.awt.Shape getArc2D(DataPoint dataPoint)
getArc2D
在类中 PiePlotGlyph
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 PlotGlyph
repo
- 请求JSONException
- 抛错public java.lang.String getPlotGlyphType()
PlotGlyph
getPlotGlyphType
在类中 PiePlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PiePlotGlyph
public java.lang.String getSmallIconType()
PlotGlyph
getSmallIconType
在类中 PlotGlyph