Fixed bug in x axis labels in dashboard
Dashboard progress graph was not showing all labels in x axis when there were less than 12 samples.
This commit is contained in:
@@ -214,7 +214,7 @@
|
|||||||
var i,
|
var i,
|
||||||
l,
|
l,
|
||||||
tick = [],
|
tick = [],
|
||||||
step = this.xColumnValues.length < 13 ? 12 : Math.round((this.xColumnValues.length - 1) / 12);
|
step = this.xColumnValues.length < 13 ? 1 : Math.round((this.xColumnValues.length - 1) / 12);
|
||||||
|
|
||||||
if (this.xColumnValues.length > 1) {
|
if (this.xColumnValues.length > 1) {
|
||||||
tick.push(0);
|
tick.push(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user