public class ScatterChartData extends TopChartData implements ChartData
categoryPresentList, HUGE_DATA, seriesPresentList, XML_TAG
构造器和说明 |
---|
ScatterChartData() |
ScatterChartData(java.lang.Object[] items,
java.lang.Object[][] scatterX,
java.lang.Object[][] scatterY) |
限定符和类型 | 方法和说明 |
---|---|
void |
dealDiscard(int topCate,
int topSeries,
boolean isDiscardOtherCate,
boolean isDiscardOtherSeries,
boolean isDiscardNullCate,
boolean isDiscardNullSeries) |
void |
dealHugeData()
处理大量数据时抽样
|
void |
dealPresent(Present categoryPresent,
Present seriesPresent,
Calculator calculator)
处理分类和系列对应到数据字典.
|
int |
getCategoryLabelCount()
返回x轴方向的散点个数.
|
java.lang.Object |
getCategoryOriginalLabel(int categoryIndex)
返回x轴方向标签实际值 TODO 用不到.
|
protected java.lang.Object[] |
getSeriesItems() |
protected java.lang.Object[][] |
getXValue2D() |
java.lang.Number |
getY(int itemIndex,
int categoryIndex)
返回对应y二维数组 itemIndex行 categoryIndex列的对象
|
void |
initsData(java.lang.Object[] items,
java.lang.Object[][] scatterX,
java.lang.Object[][] scatterY)
初始化数据.
|
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 ScatterChartData()
public ScatterChartData(java.lang.Object[] items, java.lang.Object[][] scatterX, java.lang.Object[][] scatterY)
public void initsData(java.lang.Object[] items, java.lang.Object[][] scatterX, java.lang.Object[][] scatterY)
items
- 系列项scatterX
- 散点x值scatterY
- 散点Yprotected java.lang.Object[] getSeriesItems()
getSeriesItems
在类中 TopChartData
protected java.lang.Object[][] getXValue2D()
getXValue2D
在类中 TopChartData
public java.lang.Number getY(int itemIndex, int categoryIndex)
public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
getCategoryOriginalLabel
在接口中 ChartData
public int getCategoryLabelCount()
getCategoryLabelCount
在接口中 ChartData
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