Chart improvements

- Remove trend in top senders/receivers
- Fix top senders/receivers step
- Show second axis in custom charts
- Avoid hiding series when second axis is show
This commit is contained in:
emanuele-f 2018-08-10 16:40:40 +02:00
parent 8ba803a766
commit 95a4722878
6 changed files with 41 additions and 13 deletions

View file

@ -196,12 +196,15 @@ function populateGraphMenuEntry(label, base_url, params, tab_id)
entry_params[k] = v
end
graph_menu_entries[#graph_menu_entries + 1] = {
local entry = {
html = entry_str,
label = label,
schema = params.ts_schema,
params = entry_params, -- for graphMenuGetActive
}
graph_menu_entries[#graph_menu_entries + 1] = entry
return entry
end
function graphMenuDivider()