Added proper labels for Y axis data on metrics graphs
This commit is contained in:
parent
20c57cde78
commit
ee40fa0bef
2 changed files with 50 additions and 38 deletions
|
|
@ -129,15 +129,18 @@ class="pt-5">
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yaxis: {
|
yaxis: {
|
||||||
show: true,
|
show: true,
|
||||||
labels: {
|
labels: {
|
||||||
show: true,
|
show: true,
|
||||||
style: {
|
style: {
|
||||||
colors: textColor,
|
colors: textColor,
|
||||||
}
|
},
|
||||||
}
|
formatter: function(value) {
|
||||||
},
|
return Math.round(value) + ' %';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
noData: {
|
noData: {
|
||||||
text: 'Loading...',
|
text: 'Loading...',
|
||||||
style: {
|
style: {
|
||||||
|
|
@ -259,16 +262,19 @@ class="pt-5">
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yaxis: {
|
yaxis: {
|
||||||
min: 0,
|
min: 0,
|
||||||
show: true,
|
show: true,
|
||||||
labels: {
|
labels: {
|
||||||
show: true,
|
show: true,
|
||||||
style: {
|
style: {
|
||||||
colors: textColor,
|
colors: textColor,
|
||||||
}
|
},
|
||||||
}
|
formatter: function(value) {
|
||||||
},
|
return Math.round(value) + ' MB';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
noData: {
|
noData: {
|
||||||
text: 'Loading...',
|
text: 'Loading...',
|
||||||
style: {
|
style: {
|
||||||
|
|
|
||||||
|
|
@ -125,15 +125,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yaxis: {
|
yaxis: {
|
||||||
show: true,
|
show: true,
|
||||||
labels: {
|
labels: {
|
||||||
show: true,
|
show: true,
|
||||||
style: {
|
style: {
|
||||||
colors: textColor,
|
colors: textColor,
|
||||||
}
|
},
|
||||||
}
|
formatter: function(value) {
|
||||||
},
|
return Math.round(value) + ' %';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
noData: {
|
noData: {
|
||||||
text: 'Loading...',
|
text: 'Loading...',
|
||||||
style: {
|
style: {
|
||||||
|
|
@ -258,16 +261,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yaxis: {
|
yaxis: {
|
||||||
min: 0,
|
min: 0,
|
||||||
show: true,
|
show: true,
|
||||||
labels: {
|
labels: {
|
||||||
show: true,
|
show: true,
|
||||||
style: {
|
style: {
|
||||||
colors: textColor,
|
colors: textColor,
|
||||||
}
|
},
|
||||||
}
|
formatter: function(value) {
|
||||||
},
|
return Math.round(value) + ' %';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
noData: {
|
noData: {
|
||||||
text: 'Loading...',
|
text: 'Loading...',
|
||||||
style: {
|
style: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue