|

楼主 |
发表于 2018-3-13 15:00:43
|
显示全部楼层
public static Table getGanTt(String fID){
String sql ="SELECT fInvestmentNature, fStartDate, fEndDate FROM PM_BID_ProjectInfo where fId ='"+fID+"'";
Map<String, String> map = new HashMap<String, String>();
map.put("ORACLE", sql);
System.out.println("sql::::"+sql);
Table tRect = SQL.select(map, null, "/PM/PP/data");
return tRect;
}
<div component="$UI/system/components/justep/chart/chart"
chart-name="chart" autoLoad="false" data-list="" xid="chart3"
dataList="rData">
<chart xid="chart4">
<config xid="default6"/>
<series-set xid="series-set2">
<series xid="chartSeries2" chart-type="horizontal-gantt"
name="verticalganttchart">
<config xid="default13"/>
<data title="" categoryAxis="fInvestmentNature" startDate="fStartDate"
endDate="fEndDate" ref="rData" xid="default9"/>
</series>
</series-set>
</chart>
</div>
设置的不对吧,有甘特图的文档吗?我想看看,第一次做 |
|