From: Thomas Lamprecht Date: Wed, 22 Jul 2020 08:27:43 +0000 (+0200) Subject: ui: comment length cleanup to improve readability X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=486e7af6404ee963f7606de7a5ce667ddd6ba196;p=pve-manager-legacy.git ui: comment length cleanup to improve readability Signed-off-by: Thomas Lamprecht --- diff --git a/www/manager6/panel/RunningChart.js b/www/manager6/panel/RunningChart.js index 37473fcc..56c84eab 100644 --- a/www/manager6/panel/RunningChart.js +++ b/www/manager6/panel/RunningChart.js @@ -1,8 +1,6 @@ /* - * This is a running chart widget - * you add time datapoints to it, - * and we only show the last x of it - * used for ceph performance charts + * This is a running chart widget you add time datapoints to it, and we only + * show the last x of it used for ceph performance charts */ Ext.define('PVE.widget.RunningChart', { extend: 'Ext.container.Container', @@ -93,12 +91,10 @@ Ext.define('PVE.widget.RunningChart', { } ], - // the renderer for the tooltip and last value, - // default just the value + // the renderer for the tooltip and last value, default just the value renderer: Ext.identityFn, - // show the last x seconds - // default is 5 minutes + // show the last x seconds default is 5 minutes timeFrame: 5*60, addDataPoint: function(value, time) {