public class BubbleChartData extends TopChartData implements ChartData
categoryPresentList, HUGE_DATA, seriesPresentList, XML_TAG
构造器和说明 |
---|
BubbleChartData() |
BubbleChartData(java.lang.Object[] items,
java.lang.Object[][] bubbleX,
java.lang.Object[][] bubbleY,
java.lang.Object[][] bubbleSize) |
限定符和类型 | 方法和说明 |
---|---|
void |
dealDiscard(int topCate,
int topSeries,
boolean isDiscardOtherCate,
boolean isDiscardOtherSeries,
boolean isDiscardNullCate,
boolean isDiscardNullSeries) |
void |
dealHugeData()
处理大量数据时抽样
|
void |
dealPresent(Present categoryPresent,
Present seriesPresent,
Calculator calculator)
处理分类和系列对应到数据字典.
|
void |
dealRepeatedPoints(java.util.ArrayList bubbleX_2DList,
java.util.ArrayList bubbleY_2DList,
java.util.ArrayList bubbleSize_2DList) |
java.lang.Object[][] |
getBubbleSize()
返回气泡大小的二维数组
|
java.lang.Object[][] |
getBubbleX()
返回气泡x的气泡数组
|
java.lang.Object[][] |
getBubbleY()
返回气泡y的二维数组
|
int |
getCategoryLabelCount()
返回 x轴上的气泡标签个数
|
java.lang.Object |
getCategoryOriginalLabel(int categoryIndex)
返回分类或x轴上序号为categoryIndex的标签的实际值
|
java.lang.Object |
getCategoryPresentLabel(int itemIndex,
int categoryIndex)
返回序号为x[itemIndex]labelIndex的分类字典标签
|
java.lang.Object[] |
getItems()
返回系列项
|
protected java.lang.Object[] |
getSeriesItems() |
java.lang.Number |
getSize(int itemIndex,
int sizeIndex)
返回对象位置(itemIndex, sizeIndex)的气泡大小
|
protected java.lang.Object[][] |
getXValue2D() |
java.lang.Number |
getY(int itemIndex,
int yIndex)
返回对应数据位置(itemIdex, yIndex)的气泡y值
|
void |
initsData(java.lang.Object[] items,
java.lang.Object[][] bubbleX,
java.lang.Object[][] bubbleY,
java.lang.Object[][] bubbleSize)
初始化各种数据
|
void |
setBubbleSize(java.lang.Object[][] bubbleSize)
设置气泡大小的二维数组
|
void |
setBubbleX(java.lang.Object[][] bubbleX)
设置气泡x的二维数组
|
void |
setBubbleY(java.lang.Object[][] bubbleY)
设置气泡y的二维数组
|
void |
setItems(java.lang.Object[] items)
设置系列项
|
addCategoryPresent, addSeriesPresent, clearCate, clearSeries, dealDataObject2Number, dealDiscardOther2DValue, dealDiscardOtherList, equals, getCategoryPresentLabel, getDataValue, getItemCount, getObjectNumber, getOriginalItem, getPresentItem, getX
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategoryPresentLabel
public BubbleChartData()
public BubbleChartData(java.lang.Object[] items, java.lang.Object[][] bubbleX, java.lang.Object[][] bubbleY, java.lang.Object[][] bubbleSize)
public java.lang.Object getCategoryPresentLabel(int itemIndex, int categoryIndex)
public void initsData(java.lang.Object[] items, java.lang.Object[][] bubbleX, java.lang.Object[][] bubbleY, java.lang.Object[][] bubbleSize)
items
- 系列项bubbleX
- x值bubbleY
- y值bubbleSize
- 气泡大小.public void dealRepeatedPoints(java.util.ArrayList bubbleX_2DList, java.util.ArrayList bubbleY_2DList, java.util.ArrayList bubbleSize_2DList)
public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
ChartData
getCategoryOriginalLabel
在接口中 ChartData
protected java.lang.Object[] getSeriesItems()
getSeriesItems
在类中 TopChartData
public int getCategoryLabelCount()
getCategoryLabelCount
在接口中 ChartData
public java.lang.Number getSize(int itemIndex, int sizeIndex)
protected java.lang.Object[][] getXValue2D()
getXValue2D
在类中 TopChartData
public java.lang.Number getY(int itemIndex, int yIndex)
public void setItems(java.lang.Object[] items)
public java.lang.Object[] getItems()
public void setBubbleX(java.lang.Object[][] bubbleX)
public java.lang.Object[][] getBubbleX()
public void setBubbleY(java.lang.Object[][] bubbleY)
public java.lang.Object[][] getBubbleY()
public void setBubbleSize(java.lang.Object[][] bubbleSize)
public java.lang.Object[][] getBubbleSize()
public void dealDiscard(int topCate, int topSeries, boolean isDiscardOtherCate, boolean isDiscardOtherSeries, boolean isDiscardNullCate, boolean isDiscardNullSeries)
dealDiscard
在接口中 ChartData
dealDiscard
在类中 TopChartData
topCate
- 截取前多少个分类topSeries
- 截取前多少个系列isDiscardOtherCate
- 是否抛弃其他截取后的分类isDiscardOtherSeries
- 是否抛弃截取后的其他系列isDiscardNullCate
- 是否抛弃全部是空值的分类isDiscardNullSeries
- 是否抛弃全部是空值的系列public void dealPresent(Present categoryPresent, Present seriesPresent, Calculator calculator)
TopChartData
dealPresent
在接口中 ChartData
dealPresent
在类中 TopChartData
public void dealHugeData()
TopChartData
dealHugeData
在接口中 ChartData
dealHugeData
在类中 TopChartData