public class WordCloudChartData extends TopChartData
categoryPresentList, HUGE_DATA, seriesPresentList, XML_TAG
构造器和说明 |
---|
WordCloudChartData() |
WordCloudChartData(java.lang.String name,
java.util.List wordNameList,
java.util.List wordValueList) |
限定符和类型 | 方法和说明 |
---|---|
void |
addWordName(java.lang.Object wordName) |
void |
addWordValue(java.lang.Object wordValue) |
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轴上序号为categoryIndex的标签的实际值
|
java.lang.String |
getName() |
int |
getWordCount()
返回标签的个数
|
java.lang.Object |
getWordName(int index) |
java.lang.Number |
getWordValue(int index) |
void |
replaceValueWithName(java.lang.Object wordName,
java.lang.Object wordValue) |
void |
setName(java.lang.String name) |
addCategoryPresent, addSeriesPresent, clearCate, clearSeries, dealDataObject2Number, dealDiscardOther2DValue, dealDiscardOtherList, equals, getCategoryPresentLabel, getDataValue, getItemCount, getObjectNumber, getOriginalItem, getPresentItem, getSeriesItems, getX, getXValue2D
public WordCloudChartData()
public WordCloudChartData(java.lang.String name, java.util.List wordNameList, java.util.List wordValueList)
public java.lang.String getName()
public void setName(java.lang.String name)
public void addWordName(java.lang.Object wordName)
public java.lang.Object getWordName(int index)
public void addWordValue(java.lang.Object wordValue)
public java.lang.Number getWordValue(int index)
public void replaceValueWithName(java.lang.Object wordName, java.lang.Object wordValue)
public int getCategoryLabelCount()
ChartData
public int getWordCount()
public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
categoryIndex
- public void dealHugeData()
dealHugeData
在接口中 ChartData
dealHugeData
在类中 TopChartData
public void dealPresent(Present categoryPresent, Present seriesPresent, Calculator calculator)
dealPresent
在接口中 ChartData
dealPresent
在类中 TopChartData
categoryPresent
- seriesPresent
- calculator
- 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
- 是否抛弃全部是空值的系列