BoxLayoutData vBoxData = new BoxLayoutData(new Margins(5, 5, 5, 5));
ToggleGroup tg=new ToggleGroup();
ToggleButton runningTrend=new ToggleButton("每日失败任务趋势");
runningTrend.setAllowDepress(false);
runningTrend.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
private RunningJobTrend trend=new RunningJobTrend();
public void onValueChange(ValueChangeEvent<Boolean> event) {
if(event.getValue()){
if(allChartContainer.getWidgetIndex(trend)==-1){
allChartContainer.add(trend);
}