public class MeterChartData extends TopChartData implements ChartData
categoryPresentList, HUGE_DATA, seriesPresentList, XML_TAG
构造器和说明 |
---|
MeterChartData() |
MeterChartData(java.lang.Object[] names,
java.lang.Object[] values) |
限定符和类型 | 方法和说明 |
---|---|
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()
返回标签的个数
|
java.lang.Object |
getCategoryOriginalLabel(int categoryIndex)
返回 序号为categoryIndex的标签名实际值
|
java.lang.Number |
getValue(int valueIndex)
返回序号为valueIndex的值
|
int |
getValuesCount()
返回值的个数
|
void |
initsData(java.lang.Object[] names,
java.lang.Object[] values)
初始化各种数据.
|
addCategoryPresent, addSeriesPresent, clearCate, clearSeries, dealDataObject2Number, dealDiscardOther2DValue, dealDiscardOtherList, equals, getCategoryPresentLabel, getDataValue, getItemCount, getObjectNumber, getOriginalItem, getPresentItem, getSeriesItems, getX, getXValue2D
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategoryPresentLabel
public MeterChartData()
public MeterChartData(java.lang.Object[] names, java.lang.Object[] values)
public void initsData(java.lang.Object[] names, java.lang.Object[] values)
names
- 名称values
- 值.public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
getCategoryOriginalLabel
在接口中 ChartData
public int getCategoryLabelCount()
getCategoryLabelCount
在接口中 ChartData
public java.lang.Number getValue(int valueIndex)
public int getValuesCount()
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