Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
72953da3fd
@ -1201,6 +1201,19 @@ AJAX.registerOnload('server_status_monitor.js', function () {
|
||||
settings.axes.yaxis.tickOptions = {
|
||||
formatter: $.jqplot.byteFormatter(1) // KiB
|
||||
};
|
||||
} else if (settings.title === PMA_messages.strQuestions
|
||||
|| settings.title === PMA_messages.strConnections
|
||||
) {
|
||||
settings.axes.yaxis.tickOptions = {
|
||||
formatter: function(format, val) {
|
||||
if (Math.abs(val) >= 1000000)
|
||||
return $.jqplot.sprintf("%.3g M", val/1000000);
|
||||
else if (Math.abs(val) >= 1000)
|
||||
return $.jqplot.sprintf("%.3g k", val/1000);
|
||||
else
|
||||
return $.jqplot.sprintf("%d", val);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
settings.series = chartObj.series;
|
||||
|
||||
@ -2811,3 +2811,9 @@ body .ui-widget {
|
||||
color: #235A81;
|
||||
}
|
||||
|
||||
/* over-riding jqplot-yaxis class */
|
||||
.jqplot-yaxis {
|
||||
left:0px !important;
|
||||
min-width:25px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user