config.setVerticalLabel("Number of executions");
int count = 1;
for (JobDescriptor job : jobDescriptorDAO.findAll()) {
MuninGraphValueConfig drawConfig = new MuninGraphValueConfig();
drawConfig.setValueKey(job.getKey());
drawConfig.setValueConfig("draw");
drawConfig.setConfigValue((count == 1 ? "AREA" : "STACK"));
drawConfig.setObject(job);
config.addValueConfig(drawConfig);
MuninGraphValueConfig labelConfig = new MuninGraphValueConfig();
labelConfig.setValueKey(job.getKey());
labelConfig.setValueConfig("label");
labelConfig.setConfigValue(job.getKey());
labelConfig.setObject(job);
config.addValueConfig(labelConfig);
count++;
}
return config;