public class XYScatterPlot extends XYPlot
| 限定符和类型 | 字段和说明 |
|---|---|
static ScatterChartData |
SCATTER_CHART_DATA |
static java.lang.String |
XML_TAG |
combinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, Y_AXIS| 构造器和说明 |
|---|
XYScatterPlot() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addSeries2PlotGlyph(PlotGlyph plotGlyph,
ChartData chartData)
根据ChartData给PlotGlyph添加系列点
|
protected void |
addSeriesByIndex(PlotGlyph plotGlyph,
ScatterChartData chartData)
按序号分类系列 给PlotGlyph添加系列点
|
java.lang.Object |
clone()
克隆
|
ChartData |
createNullChartData()
创建散点图的空值图表数据
|
PlotGlyph |
createPlotGlyph(ChartData chartData)
根据ChartData创建PlotGlyph
|
ChartData |
defaultChartData()
返回散点图的默认数据
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
int |
getDetailType()
具体得类型
|
protected LineMarkerIcon |
getLegendMarkerIcon(DataSeries dataSeries,
java.awt.Color[] colors)
返回图例项的系列标记
|
protected double |
getMaxValue4XValue(ChartData cd)
返回x值的最大值
|
double |
getMaxValueFromData(ChartData cd,
ChartAxisPosition leftOrRight)
返回系列点y值的最大值
|
double |
getMinValueFromData(ChartData cd,
boolean isLog,
ChartAxisPosition leftOrRight)
返回系列点y值的最小值
|
java.lang.String |
getPlotDataPaneName()
返回Plot数据界面名.
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换 ,默认返回二维柱形图小图标
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
void |
install4PlotGlyph(XYScatterPlotGlyph plotGlyph,
ChartData chartData)
将Plot中的属性同步到PlotGlyph
|
boolean |
isCurve()
返回是否曲线绘图
|
boolean |
isHighChart()
返回散点图的高光属性,由于散点图不存在高光属性,默认返回false
|
boolean |
isSupportCategoryFilter()
是否支持数据 分类 过滤
|
boolean |
isSupportTrendLine()
趋势线的显示控制
|
boolean |
isSupportValuePercent()
是否支持 值百分比
|
boolean |
match4GUI(Plot plot)
界面切换时,比较两个plot是否相等
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setCurve(boolean isCurve)
设置是否曲线绘图
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
getAlertLinePaneTitle, getHyperLinkEditorMap, getMarkerSize, getMinValue4XValue, installAxisGlyphbuidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, dealFormula, dependence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, modFormulaString, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxisaccept, addSeriesByIndex, addSeriesByIndex, addSeriesByIndexWithoutNull, anyChartAdvancedInteractionUse, clearConditionAttrAndRenewLegend, createDataLabel4DataPointWithCondition, createDataLabel4EverySeries, createDataLabelWithDataPoint4Map, createDataPoint, createDataPointLabel, createDataSeries, createDataSheetGlyph, createLegendGlyph, createLegendItems, createLegendItems, dealColorCondition, dealCondition, dealLineCondition, dealNullPointAndCategoryNum, defaultSecondMoreCate, defaultThirdMoreCate, exsitMarkerType, getAutoRefreshPerSecond, getAxis, getAxis, getCategoryNameTextAttr, getCombinedSize, getConditionCollection, getDataProcessor, getDataProcessor4Definition, getDataSheet, getHotHyperLink, getHotTooltipStyle, getInteractivePaneArrayThatNotSurpport, getLegend, getLegendMarkerIcon4Line, getMaxValueFromData, getPlotDetailType, getPlotFillStyle, getPlotStyle, getSeriesIndexConditionCollection, getUnitTextAttr, getValueTextAttr, hasEffect, hyperLinkParas, install4PlotGlyph, is3D, isExsitLineStyle, isGisKindLabel, isHaveAxis, isMapKindLabel, isMapPlot, isMeterPlot, isNeedRenameHyperLinkPane, isNullValueBreak, isOnlyIntervalBackground, isSeriesDragEnable, isShowAllDataPointLabel, isShowCateName, isSupport3D, isSupportAddress4Gis, isSupportAnimate, isSupportAutoRefresh, isSupportAxisLabelWrapShow, isSupportAxisLineStyle, isSupportAxisReverse, isSupportCate, isSupportDataLabelAttr, isSupportDataSeriesAttr, isSupportDataSeriesCondition, isSupportDataSheet, isSupportDelimiter, isSupportLeadLine, isSupportLegend, isSupportMoreCate, isSupportPlotBackground, isSupportSeriesDrag, isSupportSeriesFilter, isSupportTooltipInInteractivePane, isSupportTooltipSeriesType, isSupportZoomCategoryAxis, isSupportZoomDirection, isUseSecondAxis, isValidPlot, needAnalysisLinePane, readerAttr, readPlotXML, resetNullLegendAttr, setAutoRefreshPerSecond, setCategoryNameTextAttr, setCombinedSize, setConditionCollection, setDataProcessor, setDataSheet, setHotHyperLink, setHotTooltipStyle, setLegend, setNullValueBreak, setPlotFillStyle, setPlotStyle, setSecondShowUnit, setSeriesDragEnable, setShowCateName, setShowUnit, setUnitTextAttr, setValueTextAttrchangedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXMLpublic static final java.lang.String XML_TAG
public static final ScatterChartData SCATTER_CHART_DATA
public ChartData createNullChartData()
createNullChartData 在类中 Plotpublic PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph 在类中 PlotchartData - 图表数据protected void addSeries2PlotGlyph(PlotGlyph plotGlyph, ChartData chartData)
addSeries2PlotGlyph 在类中 Plotprotected void addSeriesByIndex(PlotGlyph plotGlyph, ScatterChartData chartData)
public void install4PlotGlyph(XYScatterPlotGlyph plotGlyph, ChartData chartData)
plotGlyph - 绘图区GlyphchartData - 图表数据protected double getMaxValue4XValue(ChartData cd)
getMaxValue4XValue 在类中 XYPlotpublic double getMinValueFromData(ChartData cd, boolean isLog, ChartAxisPosition leftOrRight)
getMinValueFromData 在类中 PlotisLog - true: 对数 leftOrRight 左侧坐标或右侧坐标轴cd - 图表数据leftOrRight - 左侧或者右侧坐标轴public double getMaxValueFromData(ChartData cd, ChartAxisPosition leftOrRight)
getMaxValueFromData 在类中 Plotcd - 图表数据leftOrRight - 左侧或右侧坐标轴protected LineMarkerIcon getLegendMarkerIcon(DataSeries dataSeries, java.awt.Color[] colors)
getLegendMarkerIcon 在类中 Plotpublic void setCurve(boolean isCurve)
public boolean isCurve()
public ChartData defaultChartData()
defaultChartData 在类中 Plotpublic boolean match4GUI(Plot plot)
public boolean matchPlotType(Plot newPlot)
matchPlotType 在类中 PlotnewPlot - 新Plotpublic boolean isSupportTrendLine()
isSupportTrendLine 在类中 Plotpublic boolean isSupportCategoryFilter()
isSupportCategoryFilter 在类中 Plotpublic boolean isSupportValuePercent()
isSupportValuePercent 在类中 Plotpublic boolean isHighChart()
public java.lang.String getPlotDataPaneName()
public java.lang.String getPlotName()
public void readXML(XMLableReader reader)
GeneralInforeadXML 在接口中 XMLReadablereadXML 在类中 XYPlotreader - XML读取器XMLableReaderpublic void writeXML(XMLPrintWriter writer)
GeneralInfowriteXML 在接口中 XMLWriterwriteXML 在类中 RectanglePlotwriter - XML属性输出public boolean equals(java.lang.Object ob)
GeneralInfoequals 在类中 RectanglePlotob - 用 于比较的Objectpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
GeneralInfoclone 在接口中 FCloneableclone 在类中 RectanglePlotjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath 在接口中 BasePlotgetPlotSmallIconPath 在类中 Plotpublic ChartTypeValueCollection getPlotType()
getPlotType 在类中 Plotpublic int getDetailType()
getDetailType 在类中 Plot