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, installAxisGlyph
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, dealFormula, dependence, getHorizontalIntervalBackgroundColor, getSecondAxis, getVerticalIntervalBackgroundColor, getxAxis, getyAxis, install4PlotGlyph, isInteractiveAxisTooltip, isSupportAxisTip, isSupportBorder, isSupportIntervalBackground, modFormulaString, setHorizontalIntervalBackgroundColor, setInteractiveAxisTooltip, setSecondAxis, setVerticalIntervalBackgroundColor, setxAxis, setyAxis
accept, 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, setValueTextAttr
changedAttrToJSONObject, changeStyleAttrAlpha, changeStyleAttrBackground, changeStyleAttrBorder, changeStyleAttrColor, changeStyleAttrContents, changeStyleAttrLineStyle, getAlpha, getBackground, getBorderColor, getBorderStyle, getRoundRadius, isRoundBorder, isShadow, readGeneralInfoXML, setAlpha, setAttrAlpha, setBackground, setBorderColor, setBorderStyle, setRoundBorder, setRoundRadius, setShadow, toJSONObject, writeGeneralInfoXML
public static final java.lang.String XML_TAG
public static final ScatterChartData SCATTER_CHART_DATA
public ChartData createNullChartData()
createNullChartData
在类中 Plot
public PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph
在类中 Plot
chartData
- 图表数据protected void addSeries2PlotGlyph(PlotGlyph plotGlyph, ChartData chartData)
addSeries2PlotGlyph
在类中 Plot
protected void addSeriesByIndex(PlotGlyph plotGlyph, ScatterChartData chartData)
public void install4PlotGlyph(XYScatterPlotGlyph plotGlyph, ChartData chartData)
plotGlyph
- 绘图区GlyphchartData
- 图表数据protected double getMaxValue4XValue(ChartData cd)
getMaxValue4XValue
在类中 XYPlot
public double getMinValueFromData(ChartData cd, boolean isLog, ChartAxisPosition leftOrRight)
getMinValueFromData
在类中 Plot
isLog
- true: 对数 leftOrRight 左侧坐标或右侧坐标轴cd
- 图表数据leftOrRight
- 左侧或者右侧坐标轴public double getMaxValueFromData(ChartData cd, ChartAxisPosition leftOrRight)
getMaxValueFromData
在类中 Plot
cd
- 图表数据leftOrRight
- 左侧或右侧坐标轴protected LineMarkerIcon getLegendMarkerIcon(DataSeries dataSeries, java.awt.Color[] colors)
getLegendMarkerIcon
在类中 Plot
public void setCurve(boolean isCurve)
public boolean isCurve()
public ChartData defaultChartData()
defaultChartData
在类中 Plot
public boolean match4GUI(Plot plot)
public boolean matchPlotType(Plot newPlot)
matchPlotType
在类中 Plot
newPlot
- 新Plotpublic boolean isSupportTrendLine()
isSupportTrendLine
在类中 Plot
public boolean isSupportCategoryFilter()
isSupportCategoryFilter
在类中 Plot
public boolean isSupportValuePercent()
isSupportValuePercent
在类中 Plot
public boolean isHighChart()
public java.lang.String getPlotDataPaneName()
public java.lang.String getPlotName()
public void readXML(XMLableReader reader)
GeneralInfo
readXML
在接口中 XMLReadable
readXML
在类中 XYPlot
reader
- XML读取器XMLableReader
public void writeXML(XMLPrintWriter writer)
GeneralInfo
writeXML
在接口中 XMLWriter
writeXML
在类中 RectanglePlot
writer
- XML属性输出public boolean equals(java.lang.Object ob)
GeneralInfo
equals
在类中 RectanglePlot
ob
- 用 于比较的Objectpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
GeneralInfo
clone
在接口中 FCloneable
clone
在类中 RectanglePlot
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath
在接口中 BasePlot
getPlotSmallIconPath
在类中 Plot
public ChartTypeValueCollection getPlotType()
getPlotType
在类中 Plot
public int getDetailType()
getDetailType
在类中 Plot