Refactors graph_utils and nv_graph_utils

Addresses #3720

Refactor: create module graph_utils

Refactor: get_timeseries_layout

Refactor: get_default_timeseries

Refactor: getDeviceCommonTimeseries

Refactor: printCategoryDropdownButton

Refactor: printPoolChangeDropdown

Refactor: poolDropdown

Refactor: printProtocolQuota

Refactor: printGraphTopFlows

Refactor: drawGraphs

Refactor: printNotes

Refactor: getMinZoomResolution

Refactor: printSeries

Refactor: zoom_vals

Refactor: getZoomDuration

Refactor: getZoomAtPos

Refactor: stackedProgressBars

Refactor: percentageBar

Refactor: breakdownBar

Refactor: getProtoVolume

Refactor: normalizeSeriesPoints

Refactor: nv_graph_utils

Refactor: extendLabels

Refactor: getAlertGraphLink

Refactor: performCustomQuery

Refactor: drawProGraph

Refactor: unifies nv_graph_utils and graph_utils
This commit is contained in:
Simone Mainardi 2020-04-09 11:13:39 +02:00
parent 21a7080dfe
commit 3744ace4f8
49 changed files with 808 additions and 648 deletions

View file

@ -6,7 +6,7 @@
require "lua_utils"
require "alert_utils"
require "graph_utils"
local graph_utils = require "graph_utils"
local os_utils = require "os_utils"
local top_talkers_utils = require "top_talkers_utils"