public class VanChartScatterPlotGlyph extends VanChartLinePlotGlyph implements PlotGlyphWithRangeLegendProvider
限定符和类型 | 字段和说明 |
---|---|
protected static double |
DEFAULT_MAX |
protected static double |
DEFAULT_MIN |
isStartPoint
DEFAULT_MAX_VALUE, vanChartPlotType, xAxisGlyphList, yAxisGlyphList
defaultAttrLabel, defaultAttrTooltip, legendBackgroundMap, legendItemList
CATEGORY_PARA, conditionCollection, DEFAULT_SIZE, plotStyle, RESET_JAVA_FONT_X, SERIES_PARA, seriesList, STACK, X_AXIS, X_PARA, Y_AXIS, Y_PARA
bounds, visible
构造器和说明 |
---|
VanChartScatterPlotGlyph() |
限定符和类型 | 方法和说明 |
---|---|
protected Marker |
createMarkerWithType(MarkerType markerType,
VanChartDataSeries dataSeries) |
protected boolean |
DataPointInRangeLegend(VanChartDataPoint dataPoint)
判断点是否在范围图例内
首先dataPoint值不是空值
如果有范围图例,则值在范围内
|
protected void |
dealAlpha4MakerGlyph(MarkerGlyph markerGlyph,
VanChartDataPoint dataPoint) |
protected void |
dealLegendIconAlpha(VanChartLineMarkerIcon itemIcon,
VanChartDataSeries dataSeries) |
protected void |
dealMarkerBackGround(Marker marker,
VanChartDataPoint dataPoint,
java.awt.Color seriesColor)
处理点的实际颜色,
顺序为:条件属性数据点标记点颜色
条件属性数据点配色
条件属性系列标记点颜色
条件属性系列配色
范围图例
默认配色
|
protected void |
dealMarkerShapeAndColor(Marker marker,
VanChartAttrMarker attrMarker,
MarkerGlyph markerGlyph,
VanChartDataPoint scatterDataPoint,
java.awt.Color seriesColor,
float point_x,
float point_y) |
java.lang.String |
demoImagePath() |
protected AttrLabel |
getAttrLabel(VanChartDataPoint dataPoint) |
protected int |
getAttrLineWidth(VanChartDataSeries dataSeries) |
protected VanChartAttrMarker |
getAttrMarker(VanChartDataPoint dataPoint) |
protected VanChartAttrMarker |
getAttrMarker(VanChartDataSeries dataSeries) |
java.lang.String |
getChartType() |
double |
getDataPointValue(VanChartDataPoint dataPoint) |
protected AttrLabel |
getDefaultAttrLabel() |
protected AttrTooltip |
getDefaultAttrTooltip() |
protected java.lang.String |
getLabelText(AttrLabel attrLabel,
VanChartDataPoint dataPoint) |
protected int |
getMarkerLineStyle() |
JSONObject |
getPlotOptionsJSON(Repository repo,
boolean isJsDraw,
ChartWebPara para)
获取 plotOptions的JSON对象
|
java.lang.String |
getPointkey(JSONObject pointData) |
protected double |
getPointPresentValue(double pointValue,
double sumValue) |
java.lang.String |
getPointValue(JSONObject pointData) |
double[] |
getRangeMinAndMaxValue(double minValue,
double maxValue) |
double[] |
getSeriesMinMaxCateValue(VanChartDataSeries dataSeries,
double[] minMaxCateValue) |
protected void |
initAllBubbleDataPoint() |
protected void |
initMarkerGlyph(VanChartDataSeries dataSeries,
VanChartDataPoint dataPoint,
float point_x,
float point_y,
java.awt.Color seriesColor) |
protected void |
initValueAxisGlyphMinMaxValue(int axisIndex,
VanChartBaseAxisGlyph axisGlyph)
数值轴初始最大最小值(考虑堆积)
|
boolean |
isDataPointValueIsNull(VanChartDataPoint dataPoint) |
protected boolean |
isDisplayDataPoint(VanChartDataPoint dataPoint)
判断是否显示某个点的条件有三个
第一:属性是否支持展示
第二:是否在范围图例所规定的范围内
第三:是否为空值
其中,当范围图例自动计算最大最小值时,已经将属性条件和空值条件考虑在内了,
即自动计算最值时排除了空值的点和属性不允许显示的点(如不展示负气泡)
|
boolean |
isDisplayDataPointWithAttrBubble(VanChartDataPoint scatterDataPoint) |
protected boolean |
isNegative(VanChartDataPoint dataPoint) |
protected boolean |
isNullDisplay(VanChartDataPoint dataPoint) |
protected boolean |
isNullValueBreak(VanChartDataSeries dataSeries) |
void |
layoutDataSeriesGlyph(int resolution)
布局图形对象
|
protected boolean |
samePoint(double currentValue,
double lastValue,
double currentCateValue,
double lastCateValue) |
protected void |
setCustomMarkerGlyphShape(MarkerGlyph markerGlyph,
double point_x,
double point_y,
double width,
double height) |
protected void |
setMakerGlyphShapeWithDataPoint(MarkerGlyph markerGlyph,
float point_x,
float point_y,
double radius,
VanChartDataPoint dataPoint) |
void |
setRangeLegendGlyph(VanChartRangeLegendGlyph rangeLegendGlyph) |
protected void |
setSeriesColor(VanChartDataPoint dataPoint,
VanChartDataSeries dataSeries) |
addMarkerToJSON, buildSingleAxisLines, buildSingleLine, createDataLabel4DataPointWithCondition, createMarkerGlyph, dealLine4AllSeries, dealLinePoint4EveryDataPoint, getAndUpdateSumValue, getAttrLineColor, getDefaultAttrLine, getLegendMarkerIcon, getMarkerBackground, initDataSeriesBandsDefaultMinMaxValue, initDataSeriesGlyph, initLastPoints, isCurve, isStep, sortCateValue
addXAxisGlyph, addXAxisJSON, addYAxisGlyph, addYAxisJSON, adjustAxisGlyphWithBottomGap, adjustAxisGlyphWithLeftGap, buildAxisMap, calculateAxisGlyphAttr, calculateDataPointPercentValue, calculateLineDataCount, createDataSheetGlyph, dealMapKey, dealOnZeroAxisGlyphLocation, dealPlotBoundsWidthAxisInHorizontal, dealPlotBoundsWithAxisGlyph, drawAxis, drawInfo, getAttrTrendLine, getBottomXAxisCount, getCateAxis, getCateAxisIndex, getCateValue, getDataMapKey, getDataSeriesCateAxisGlyph, getDataSeriesValueAxisGlyph, getDefaultAttrTrendLine, getDefaultXAxisGlyph, getDefaultYAxisGlyph, getSeriesValue, getValueAxisIndex, getVanChartPlotType, getXAxisGlyphIndex, getXAxisGlyphList, getXAxisKey, getYAxisGlyphIndex, getYAxisGlyphList, getYAxisKey, initAxisGlyphBoundsAndZeroBoundsAndOriginalChartBounds, initAxisGlyphStartPoint, initCategoryAxisMinAndMaxValue, initDataSheetGlyph, initTrendLineGlyph, initXAxisGlyphMinMaxValue, initXAxisLabelDrawPosition, initYAxisGlyphMinMaxValue, initYAxisLabelDrawPosition, isAdjustXAxisMinMaxValue, isHorizontalValueAxis, isStackDataSeries, justBound4Arrow, layoutAxisGlyph, setAxisLabelDrawBetween, setVanChartPlotType, setXAxisGlyphList, setYAxisGlyphList, trendLineFitting
addAlphaJSON, addBorderJSON, addHyperlinkJSON, addLabelJSON, addNotNullSeriesJSON, addNullLabelJSON, addOtherJSON, addSeriesJSON, addSeriesJSONWithCate2Series, allNullValue, changeInfoWithCondition, createColors4Legend, createColors4Series, createDataLabel4EveryPoint, createDataLabel4EverySeries, createDataPointLabelAfterInstallAxisGlyph, createDataSheetLegendItems, createLegendItems, dealDataPointLabel, dealMarkerIconCondition, dealMarkerIconCondition4DataSheet, dealSeriesAccumulatedColors, draw, drawWithoutInfo, getAttrAlpha, getAttrAlpha, getAttrBackground, getAttrBorder, getAttrLineColor, getAxisPlotType, getCategoryNum, getChartID, getDataPointLabelBoundsWithPosition, getDefaultAttrAlpha, getDefaultAttrBorder, getDefaultAttrBubble, getDefaultAttrMarker, getDefaultColors, getDefaultColors, getHyperLinkParas, getLegendItemList, getLegendSeriesSize, getMinMaxValue, getPlotGlyphType, getSeries, getSeriesFromAll, getSerieskey, getSmallIconType, isAxisRotation, isLocal, isSupportEmptyData, isTreeSeries, layoutAxisGlyph, setAxisPlotType, setAxisRotation, setCategoryNum, setChartID, setHyperLinkParas, setLegendItemList, setLocal, setUseDefaultNullData
addECNameToHyperLink, addOtherJSON, addSeries, addSeriesJSON, addSeriesJSON, avoidCoverLabelBounds, axisExtendsMaxMinValueWithTrendLine, calculateOrderList, clone, createColors4Cate, dealDataPointLabel, dealLabelBoundsInOrder, dealLabelBoundsOutPlotBounds, dealPlotHotAttr, doLayout, drawInfo, drawLabel4Series, drawShape4Series, equals, getAdditionalCanvasCount, getAllDataPointGlyph, getAllTrendLineGlyph, getAutoRefreshPerSecond, getCategoryCount, getCombinedSize, getConditionCollection, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition, getDataPointLabelBoundsWithPosition4Line, getDataProcessor, getDrawSequence, getExtraLabelValue, getExtraTooltipValue, getFirstDataPoint, getHotHyperLink, getHotTooltipStyle, getPlotDetailType, getPlotFillStyle, getPlotStyle, getPreGap4AxisRightUnit, getPreGap4AxisTopUnit, getPreLeft4DataSheet, getSeriesSize, getVanChartType, 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, toJSONObject, 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
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDataSheetLegendItems, createLegendItems, getBounds, getSeries, getSeriesSize, setBounds
protected static final double DEFAULT_MIN
protected static final double DEFAULT_MAX
public void setRangeLegendGlyph(VanChartRangeLegendGlyph rangeLegendGlyph)
protected VanChartAttrMarker getAttrMarker(VanChartDataPoint dataPoint)
getAttrMarker
在类中 VanChartLinePlotGlyph
protected VanChartAttrMarker getAttrMarker(VanChartDataSeries dataSeries)
getAttrMarker
在类中 VanChartLinePlotGlyph
protected void initMarkerGlyph(VanChartDataSeries dataSeries, VanChartDataPoint dataPoint, float point_x, float point_y, java.awt.Color seriesColor)
initMarkerGlyph
在类中 VanChartLinePlotGlyph
protected void dealMarkerShapeAndColor(Marker marker, VanChartAttrMarker attrMarker, MarkerGlyph markerGlyph, VanChartDataPoint scatterDataPoint, java.awt.Color seriesColor, float point_x, float point_y)
protected void setCustomMarkerGlyphShape(MarkerGlyph markerGlyph, double point_x, double point_y, double width, double height)
public double[] getRangeMinAndMaxValue(double minValue, double maxValue)
public double getDataPointValue(VanChartDataPoint dataPoint)
protected void initAllBubbleDataPoint()
protected boolean DataPointInRangeLegend(VanChartDataPoint dataPoint)
dataPoint
- protected void dealMarkerBackGround(Marker marker, VanChartDataPoint dataPoint, java.awt.Color seriesColor)
marker
- dataPoint
- seriesColor
- protected void setMakerGlyphShapeWithDataPoint(MarkerGlyph markerGlyph, float point_x, float point_y, double radius, VanChartDataPoint dataPoint)
protected int getMarkerLineStyle()
protected Marker createMarkerWithType(MarkerType markerType, VanChartDataSeries dataSeries)
public java.lang.String getChartType()
getChartType
在类中 VanChartLinePlotGlyph
protected void dealAlpha4MakerGlyph(MarkerGlyph markerGlyph, VanChartDataPoint dataPoint)
protected void dealLegendIconAlpha(VanChartLineMarkerIcon itemIcon, VanChartDataSeries dataSeries)
protected AttrLabel getDefaultAttrLabel()
getDefaultAttrLabel
在类中 VanChartPlotGlyph
protected AttrLabel getAttrLabel(VanChartDataPoint dataPoint)
getAttrLabel
在类中 VanChartPlotGlyph
protected AttrTooltip getDefaultAttrTooltip()
protected java.lang.String getLabelText(AttrLabel attrLabel, VanChartDataPoint dataPoint)
getLabelText
在类中 VanChartPlotGlyph
protected double getPointPresentValue(double pointValue, double sumValue)
protected boolean samePoint(double currentValue, double lastValue, double currentCateValue, double lastCateValue)
samePoint
在类中 VanChartLinePlotGlyph
protected void setSeriesColor(VanChartDataPoint dataPoint, VanChartDataSeries dataSeries)
setSeriesColor
在类中 VanChartLinePlotGlyph
public JSONObject getPlotOptionsJSON(Repository repo, boolean isJsDraw, ChartWebPara para) throws JSONException
VanChartLinePlotGlyph
getPlotOptionsJSON
在类中 VanChartLinePlotGlyph
repo
- 请求isJsDraw
- 动态展示JSONException
- 抛出问题public java.lang.String demoImagePath()
demoImagePath
在类中 VanChartLinePlotGlyph
protected int getAttrLineWidth(VanChartDataSeries dataSeries)
public void layoutDataSeriesGlyph(int resolution)
VanChartLinePlotGlyph
layoutDataSeriesGlyph
在类中 VanChartLinePlotGlyph
resolution
- 分辨率protected boolean isNullValueBreak(VanChartDataSeries dataSeries)
public boolean isDisplayDataPointWithAttrBubble(VanChartDataPoint scatterDataPoint)
protected boolean isNegative(VanChartDataPoint dataPoint)
public double[] getSeriesMinMaxCateValue(VanChartDataSeries dataSeries, double[] minMaxCateValue)
protected void initValueAxisGlyphMinMaxValue(int axisIndex, VanChartBaseAxisGlyph axisGlyph)
VanChartRectanglePlotGlyph
initValueAxisGlyphMinMaxValue
在类中 VanChartRectanglePlotGlyph
axisIndex
- 坐标轴下标axisGlyph
- 坐标轴图形protected boolean isDisplayDataPoint(VanChartDataPoint dataPoint)
isDisplayDataPoint
在类中 VanChartLinePlotGlyph
dataPoint
- protected boolean isNullDisplay(VanChartDataPoint dataPoint)
public boolean isDataPointValueIsNull(VanChartDataPoint dataPoint)
public java.lang.String getPointkey(JSONObject pointData) throws JSONException
getPointkey
在类中 VanChartPlotGlyph
JSONException
public java.lang.String getPointValue(JSONObject pointData) throws JSONException
getPointValue
在类中 VanChartPlotGlyph
JSONException