add bar chart to test picker page

This commit is contained in:
gabryon99 2021-03-17 14:07:47 +01:00
parent 53eb644ed6
commit d164d53f97
11 changed files with 200 additions and 41 deletions

View file

@ -14,7 +14,7 @@ local widget_gui_utils = require("widget_gui_utils")
local Datasource = widget_gui_utils.datasource
local show_remote = true
local map_endpoint = "rest/v1/charts/host/map.lua"
local map_endpoint = "/lua/rest/v1/charts/host/map.lua"
local bubble_mode = tonumber(_GET["bubble_mode"]) or 0
local current_label = MODES[bubble_mode + 1].label
local widget_name = 'hosts-map'