public class XYScatterPlotGlyph 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
构造器和说明 |
---|
XYScatterPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
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)
返回特定DataPoint的标签边界
|
protected java.lang.String |
getExtraLabelValue() |
protected java.lang.String |
getExtraTooltipValue() |
java.lang.String |
getPlotGlyphType()
用于JS中的Type类型.
|
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
protected double |
getStartY(DataPoint dataPoint) |
java.lang.String |
getVanChartType() |
void |
layoutDataSeriesGlyph(int resolution)
布局系列
|
void |
setCurve(boolean isCurve)
设置连接各个点的线是否为光滑的曲线
|
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 setCurve(boolean isCurve)
isCurve
- true表示是光滑的曲线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
- 标签位置. 默认标签位置.labelPreDim
- 标签大小dataPointRect
- 数据点的Shape边界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
- 抛错protected java.lang.String getExtraLabelValue()
getExtraLabelValue
在类中 PlotGlyph
protected java.lang.String getExtraTooltipValue()
getExtraTooltipValue
在类中 PlotGlyph
public java.lang.String getPlotGlyphType()
PlotGlyph
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
- 抛出问题