public class BubblePlotGlyph extends RectanglePlotGlyph
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
BubblePlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getChartType() |
protected java.awt.geom.Rectangle2D |
getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim,
java.awt.geom.Rectangle2D dataPointRect,
int position)
返回系列点的标签位置
|
protected java.lang.String |
getExtraLabelValue() |
protected java.lang.String |
getExtraTooltipValue() |
double |
getMaxBubblePixel()
返回气泡最大的大小
|
java.lang.String |
getPlotGlyphType()
返回PlotGlyph的JS类型, 便于初始化
|
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
double |
getRadius(double value,
double maxValue) |
int |
getSeriesEqualsBubbleInWidthOrArea()
返回气泡比较的方式
|
protected double |
getStartY(DataPoint dataPoint) |
java.lang.String |
getVanChartType() |
boolean |
isShowNegativeBubble()
返回是否显示负值气泡
|
void |
layoutDataSeriesGlyph(int resolution)
布局系列, 计算图表气泡位置和标签
|
void |
setCustomizedMaxValue(double maxValue) |
void |
setMaxBubblePixel(double maxBubblePixel)
设置气泡的大小
|
void |
setSeriesEqualsBubbleType(int seriesEqualsBubbleInWidthOrArea)
设置气泡的比较方式
|
void |
setShowNegativeBubble(boolean isShowNegativeBubble)
设置是否显示值为负数的气泡
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
addOtherJSON, calculateAxisGlyphAttr, createSheetGlyphAndNotShowAxisGlyph, dealCommonLinePath, dealCurveLinePath, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, draw, drawBackgroundGrid, drawInfo, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSecondAxisGlyph, getSeriesAxisGlyph, getxAxisGlyph, getXDivideUnit, getyAxisGlyph, getYDivideUnit, initAxisGlyphBoundsAndZeroBounds, isZoom, layoutAxisGlyph, layoutDoubleAxisGlyph, selectableChildren, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxisGlyph, setVerticalIntervalBackgroundColor, setxAxisGlyph, setyAxisGlyph
addECNameToHyperLink, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateDataPointPercentValue, calculateOrderList, createColors4Cate, createColors4Series, createDataSheetGlyph, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, doLayout, drawLabel4Series, drawShape4Series, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSeries, getSeriesSize, getSmallIconType, getWholeChartBackground, is3DPlotGlyph, isDataPointXNotInPlotBounds, isExistAttrByResult, isNeedDealHotHyperlink, isNullValueBreak, isSeriesDragEnable, isSupportLegend, isSupportZoom, notDealDataPointLabel, resetClip, 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 setMaxBubblePixel(double maxBubblePixel)
maxBubblePixel
- 像素public double getMaxBubblePixel()
public void setShowNegativeBubble(boolean isShowNegativeBubble)
isShowNegativeBubble
- true则显示值为负数的气泡public boolean isShowNegativeBubble()
public void setCustomizedMaxValue(double maxValue)
public void setSeriesEqualsBubbleType(int seriesEqualsBubbleInWidthOrArea)
seriesEqualsBubbleInWidthOrArea
- 气泡大小的比较方式
BubblePlot.BubbleWidth BubblePlot.BubbleAreapublic int getSeriesEqualsBubbleInWidthOrArea()
public void layoutDataSeriesGlyph(int resolution)
layoutDataSeriesGlyph
在类中 PlotGlyph
resolution
- 分辨率protected double getStartY(DataPoint dataPoint)
protected java.awt.geom.Rectangle2D getDataPointLabelBoundsWithPosition(java.awt.geom.Dimension2D labelPreDim, java.awt.geom.Rectangle2D dataPointRect, int position)
getDataPointLabelBoundsWithPosition
在类中 PlotGlyph
position
- 标签位置 气泡外, 气泡内public double getRadius(double value, double maxValue)
public boolean equals(java.lang.Object ob)
equals
在类中 RectanglePlotGlyph
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
在类中 RectanglePlotGlyph
repo
- 请求JSONException
- 抛错public java.lang.String getPlotGlyphType()
getPlotGlyphType
在类中 PlotGlyph
public java.lang.String getChartType()
getChartType
在类中 PlotGlyph
public java.lang.String getVanChartType()
getVanChartType
在类中 PlotGlyph
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
PlotGlyph
getPlotOptionsJSON
在类中 PlotGlyph
repo
- 请求isJsDraw
- 动态展示JSONException
- 抛出问题protected java.lang.String getExtraLabelValue()
getExtraLabelValue
在类中 PlotGlyph
protected java.lang.String getExtraTooltipValue()
getExtraTooltipValue
在类中 PlotGlyph