mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Handle protocol and category tags while zooming community charts
Possibly addresses #2194
This commit is contained in:
parent
03cccf9f37
commit
6574acde53
1 changed files with 9 additions and 1 deletions
|
|
@ -876,7 +876,15 @@ yAxis.render();
|
|||
$("#chart").click(function() {
|
||||
if(hover.selected_epoch)
|
||||
window.location.href = ']]
|
||||
print(baseurl .. '&ts_schema=' .. schema .. '&zoom=' .. nextZoomLevel .. '&epoch=')
|
||||
print(baseurl .. '&ts_schema=' .. schema .. '&zoom=' .. nextZoomLevel)
|
||||
|
||||
if tags.protocol ~= nil then
|
||||
print("&protocol=" .. tags.protocol)
|
||||
elseif tags.category ~= nil then
|
||||
print("&category=" .. tags.category)
|
||||
end
|
||||
|
||||
print('&epoch=')
|
||||
print[['+hover.selected_epoch;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue