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, getXclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCategoryPresentLabelpublic 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 在类中 TopChartDataprotected java.lang.Object[][] getXValue2D()
getXValue2D 在类中 TopChartDatapublic java.lang.Number getY(int itemIndex,
int categoryIndex)
public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
getCategoryOriginalLabel 在接口中 ChartDatapublic int getCategoryLabelCount()
getCategoryLabelCount 在接口中 ChartDatapublic void dealDiscard(int topCate,
int topSeries,
boolean isDiscardOtherCate,
boolean isDiscardOtherSeries,
boolean isDiscardNullCate,
boolean isDiscardNullSeries)
dealDiscard 在接口中 ChartDatadealDiscard 在类中 TopChartDatatopCate - 截取前多少个分类topSeries - 截取前多少个系列isDiscardOtherCate - 是否抛弃其他截取后的分类isDiscardOtherSeries - 是否抛弃截取后的其他系列isDiscardNullCate - 是否抛弃全部是空值的分类isDiscardNullSeries - 是否抛弃全部是空值的系列public void dealPresent(Present categoryPresent, Present seriesPresent, Calculator calculator)
TopChartDatadealPresent 在接口中 ChartDatadealPresent 在类中 TopChartDatapublic void dealHugeData()
TopChartDatadealHugeData 在接口中 ChartDatadealHugeData 在类中 TopChartData