Commit c201ab5b authored by sebastien letort's avatar sebastien letort

PerStatePlot is now represented as histogram.

parent 6de75526
Pipeline #64764 failed with stage
......@@ -138,7 +138,7 @@ class PerUserPlot extends Metrics
];
this.type = 'bar';
this.d_legend = false;
this.d_legend.display = false;
this.options = {
scales: {
xAxes: [{ stacked: true }],
......@@ -211,7 +211,15 @@ class PerStatePlot extends Metrics
"# jobs per status for " + app_name + " app.",
"Time period : " + d_app['from'] + " - " + d_app['to']
];
this.type = 'line';
this.type = 'bar';
this.d_legend.display = true;
this.options = {
scales: {
xAxes: [{ stacked: true }],
yAxes: [{ stacked: true }],
}
};
}
_setChartjsData( l_data )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment