构造器和说明 |
---|
VanGanttLink() |
限定符和类型 | 方法和说明 |
---|---|
void |
addLink(GanttLink link) |
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.Object |
getCategoryPresentLabel(int categoryIndex)
返回分类或x轴上序号为categoryIndex的标签的显示值
|
JSONArray |
toJSONObject(java.lang.String lineColor,
int lineWidth) |
public void addLink(GanttLink link)
public int getCategoryLabelCount()
ChartData
getCategoryLabelCount
在接口中 ChartData
public java.lang.Object getCategoryPresentLabel(int categoryIndex)
ChartData
getCategoryPresentLabel
在接口中 ChartData
public java.lang.Object getCategoryOriginalLabel(int categoryIndex)
ChartData
getCategoryOriginalLabel
在接口中 ChartData
public void dealHugeData()
ChartData
dealHugeData
在接口中 ChartData
public void dealPresent(Present categoryPresent, Present seriesPresent, Calculator calculator)
ChartData
dealPresent
在接口中 ChartData
public void dealDiscard(int topCate, int topSeries, boolean isDiscardOtherCate, boolean isDiscardOtherSeries, boolean isDiscardNullCate, boolean isDiscardNullSeries)
dealDiscard
在接口中 ChartData
topCate
- 截取前多少个分类topSeries
- 截取前多少个系列isDiscardOtherCate
- 是否抛弃其他截取后的分类isDiscardOtherSeries
- 是否抛弃截取后的其他系列isDiscardNullCate
- 是否抛弃全部是空值的分类isDiscardNullSeries
- 是否抛弃全部是空值的系列public JSONArray toJSONObject(java.lang.String lineColor, int lineWidth) throws JSONException
JSONException