public class GanttChartData extends TopChartData implements ChartData
categoryPresentList, HUGE_DATA, seriesPresentList, XML_TAG
构造器和说明 |
---|
GanttChartData() |
GanttChartData(java.lang.Object[] stepName,
java.lang.Object[][] planStart,
java.lang.Object[][] planEnd,
java.lang.Object[][] realStart,
java.lang.Object[][] realEnd,
java.lang.Object[][] progress,
java.lang.Object[] itemID) |
限定符和类型 | 方法和说明 |
---|---|
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)
步骤的名字实际值
|
int |
getIDCount()
项目的个数
默认是1.
|
java.lang.Object |
getIDName(int idIndex)
返回序号为idIndex 的项目ID名
|
java.lang.Number |
getPlanEnd(int idIndex,
int categoryIndex)
返回计划结束二维数组对应 idIndex, categoryIndex的数据
|
int |
getPlanEndCount()
返回计划结束二维数组的长度
|
java.lang.Number |
getPlanStart(int idIndex,
int categoryIndex)
返回计划开始二维数组 idIndex行 category列的数据
|
int |
getPlanStartCount()
返回计划开始二维数组的长度
|
java.lang.Number |
getProgress(int idIndex,
int categoryIndex)
返回完成百分比二维数组中idIndex行 catgoryIndex列的数据
|
java.lang.Number |
getRealEnd(int idIndex,
int categoryIndex)
返回实际结束二维数组中idIndex行 categoryIndex列的数据
|
java.lang.Number |
getRealStart(int idIndex,
int categoryIndex)
返回实际开始二维数组中idIndex行 categoryIndex列的数据
|
void |
initsData(java.lang.Object[] stepName,
java.lang.Object[][] planStart,
java.lang.Object[][] planEnd,
java.lang.Object[][] realStart,
java.lang.Object[][] realEnd,
java.lang.Object[][] progress,
java.lang.Object[] itemID)
初始化各种数据.
|
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 GanttChartData()
public GanttChartData(java.lang.Object[] stepName, java.lang.Object[][] planStart, java.lang.Object[][] planEnd, java.lang.Object[][] realStart, java.lang.Object[][] realEnd, java.lang.Object[][] progress, java.lang.Object[] itemID)
public void initsData(java.lang.Object[] stepName, java.lang.Object[][] planStart, java.lang.Object[][] planEnd, java.lang.Object[][] realStart, java.lang.Object[][] realEnd, java.lang.Object[][] progress, java.lang.Object[] itemID)
stepName
- 步骤数组planStart
- 计划开始时间planEnd
- 计划结束时间realStart
- 实际开始realEnd
- 实际结束progress
- 进度itemID
- 项目IDpublic java.lang.Object getIDName(int idIndex)
public int getIDCount()
public int getPlanStartCount()
public int getPlanEndCount()
public java.lang.Number getPlanEnd(int idIndex, int categoryIndex)
public java.lang.Number getPlanStart(int idIndex, int categoryIndex)
public java.lang.Number getProgress(int idIndex, int categoryIndex)
public java.lang.Number getRealEnd(int idIndex, int categoryIndex)
public java.lang.Number getRealStart(int idIndex, 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