public class BubblePlot extends XYPlot
限定符和类型 | 字段和说明 |
---|---|
static int |
BUBBLE_AREA |
static BubbleChartData |
BUBBLE_CHART_DATA |
static int |
BUBBLE_WIDTH |
static java.lang.String |
XML_TAG |
combinedSize, DEFAULT_SIZE, MARKERSIZE, SECOND_AXIS, secondShowUnit, showUnit, X_AXIS, Y_AXIS
构造器和说明 |
---|
BubblePlot()
构造气泡图绘图区
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
addSeries2PlotGlyph(PlotGlyph plotGlyph,
ChartData chartData)
根据ChartData, 为PlotGlyph创建并添加系列点
|
LegendItem[] |
createLegendItems(PlotGlyph plotGlyph)
创建图例项
|
ChartData |
createNullChartData()
创建气泡图所用的空值时的图表数据.
|
PlotGlyph |
createPlotGlyph(ChartData chartData)
根据ChartData生成相应的BubblePlotGlyph
|
ChartData |
defaultChartData()
返回图表在设计展示时 默认的图表数据
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
int |
getDetailType()
具体得类型
|
protected LineMarkerIcon |
getLegendMarkerIcon(DataSeries dataSeries,
java.awt.Color[] colors)
返回图例项的标记Marker 气泡图的图例都是Fill圆形
|
protected double |
getMarkerSize()
返回标记的大小.
|
double |
getMaxBubblePixel()
返回气泡最大像素值
|
protected double |
getMaxValue4XValue(ChartData cd)
返回图表数据中: x方向的最大值.
|
double |
getMaxValueFromData(ChartData cd,
ChartAxisPosition leftOrRight)
返回图表数据中: 系列值的最大值.
|
double |
getMinValueFromData(ChartData cd,
boolean isLog,
ChartAxisPosition leftOrRight)
返回图表数据中 系列值的最小值.
|
java.lang.String |
getPlotDataPaneName()
返回数据界面的名称
|
java.lang.String |
getPlotID()
用于识别图表类型的ID,不能用class对象,因为像柱形图和条形图是一个class对象
|
java.lang.String |
getPlotName()
返回Plot的类型名称,
|
java.lang.String |
getPlotSmallIconPath()
返回具体图表的地址,目前用于图表设计器的图表切换 ,默认返回二维柱形图小图标
|
ChartTypeValueCollection |
getPlotType()
返回属于哪一种图表类型
|
int |
getSeriesEqualsBubbleInWidthOrArea()
返回系列间气泡比较类型
|
void |
install4PlotGlyph(BubblePlotGlyph plotGlyph,
ChartData chartData)
初始化赋值BubblePlotGlyph, 即: BubblePlot的属性同步到Area3DPlotGlyph.
|
boolean |
isShowNegativeBubble()
返回 是否显示气泡大小为负的气泡
|
boolean |
isSupportCategoryFilter()
是否支持数据 分类 过滤
|
boolean |
isSupportSeriesDrag()
支持系列拖拽
|
boolean |
isSupportValuePercent()
是否支持 值百分比
|
boolean |
matchPlotType(Plot newPlot)
比较 切换类型界面中的 大致Plot类型
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setMaxBubblePixel(double maxBubblePixel)
设置气泡最大像素
|
void |
setSeriesEqualsBubbleInWidthOrArea(int seriesEqualsBubbleInWidthOrArea)
设置系列间气泡比较类型: 气泡宽度 或 气泡面积
BubbleWidth : 以气泡宽度比较 BubbleArea: 以气泡面积比较
|
void |
setShowNegativeBubble(boolean isNegative)
设置是否显示气泡大小为负的气泡
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
getAlertLinePaneTitle, getHyperLinkEditorMap, getMinValue4XValue, installAxisGlyph
buidExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, clone, 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, 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, isSupportSeriesFilter, isSupportTooltipInInteractivePane, isSupportTooltipSeriesType, isSupportTrendLine, isSupportZoomCategoryAxis, isSupportZoomDirection, isUseSecondAxis, isValidPlot, match4GUI, 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 int BUBBLE_WIDTH
public static final int BUBBLE_AREA
public static final BubbleChartData BUBBLE_CHART_DATA
public void setMaxBubblePixel(double maxBubblePixel)
maxBubblePixel
- 最大像素值public double getMaxBubblePixel()
public void setSeriesEqualsBubbleInWidthOrArea(int seriesEqualsBubbleInWidthOrArea)
public int getSeriesEqualsBubbleInWidthOrArea()
public void setShowNegativeBubble(boolean isNegative)
isNegative
- true: 显示气泡大小为负的气泡 false: 不显示气泡大小为负的气泡public boolean isShowNegativeBubble()
public ChartData createNullChartData()
createNullChartData
在类中 Plot
public PlotGlyph createPlotGlyph(ChartData chartData)
createPlotGlyph
在类中 Plot
chartData
- 图表数据protected double getMarkerSize()
getMarkerSize
在类中 XYPlot
public boolean isSupportSeriesDrag()
isSupportSeriesDrag
在类中 Plot
protected double getMaxValue4XValue(ChartData cd)
getMaxValue4XValue
在类中 XYPlot
public double getMinValueFromData(ChartData cd, boolean isLog, ChartAxisPosition leftOrRight)
getMinValueFromData
在类中 Plot
isLog
- true表示为对数时的最小值 false: 为非对数时的最小值leftOrRight
- Axis_LEFT表示跟随左侧值轴系列的最小值. Axis_RIGHT 表示跟随右侧值轴系列的最小值cd
- 图表数据public double getMaxValueFromData(ChartData cd, ChartAxisPosition leftOrRight)
getMaxValueFromData
在类中 Plot
leftOrRight
- AXIS_LEFT: 表示跟随左侧值轴系列的最小值. Axis_RIGHT 表示跟随右侧值轴系列的最小值cd
- 图表数据protected void addSeries2PlotGlyph(PlotGlyph plotGlyph, ChartData chartData)
addSeries2PlotGlyph
在类中 Plot
public void install4PlotGlyph(BubblePlotGlyph plotGlyph, ChartData chartData)
plotGlyph
- 相关PlotGlyphchartData
- 图表数据public LegendItem[] createLegendItems(PlotGlyph plotGlyph)
createLegendItems
在类中 Plot
plotGlyph
- 相关PlotGlyphprotected LineMarkerIcon getLegendMarkerIcon(DataSeries dataSeries, java.awt.Color[] colors)
getLegendMarkerIcon
在类中 Plot
public java.lang.String getPlotDataPaneName()
public java.lang.String getPlotName()
public boolean matchPlotType(Plot newPlot)
matchPlotType
在类中 Plot
newPlot
- 新Plotpublic ChartData defaultChartData()
defaultChartData
在类中 Plot
public boolean isSupportCategoryFilter()
isSupportCategoryFilter
在类中 Plot
public boolean isSupportValuePercent()
isSupportValuePercent
在类中 Plot
public boolean equals(java.lang.Object ob)
GeneralInfo
equals
在类中 RectanglePlot
ob
- 用 于比较的Objectpublic 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 java.lang.String getPlotSmallIconPath()
getPlotSmallIconPath
在接口中 BasePlot
getPlotSmallIconPath
在类中 Plot
public ChartTypeValueCollection getPlotType()
getPlotType
在类中 Plot
public int getDetailType()
getDetailType
在类中 Plot