提交 5cc569fc 编写于 作者: K kohsuke

i18n


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6811 71c3de6d-444a-0410-be80-ed276b4c234a
上级 26f4819e
......@@ -817,7 +817,7 @@ public abstract class Job<JobT extends Job<JobT,RunT>, RunT extends Run<JobT,Run
DataSetBuilder<String,ChartLabel> data = new DataSetBuilder<String, ChartLabel>();
for( Run r : getBuilds() ) {
if(r.isBuilding()) continue;
data.add( ((double)r.getDuration())/(1000*60), Messages.Job_minutes(), new ChartLabel(r));
data.add( ((double)r.getDuration())/(1000*60), "min", new ChartLabel(r));
}
final CategoryDataset dataset = data.build();
......@@ -825,7 +825,7 @@ public abstract class Job<JobT extends Job<JobT,RunT>, RunT extends Run<JobT,Run
final JFreeChart chart = ChartFactory.createStackedAreaChart(
null, // chart title
null, // unused
"min", // range axis label
Messages.Job_minutes(), // range axis label
dataset, // data
PlotOrientation.VERTICAL, // orientation
false, // include legend
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册