Added proper labels for Y axis data on metrics graphs
This commit is contained in:
@@ -129,15 +129,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: {
|
||||||
@@ -259,16 +262,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) + ' 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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user