mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added top asn timeseries to ASN page
This commit is contained in:
parent
893d0787eb
commit
55ec9981fd
10 changed files with 541 additions and 409 deletions
|
|
@ -280,7 +280,7 @@ function formatStandardSerie(timeserie_info, timeserie_options, config, tsCompar
|
|||
const extra_timeseries = timeserie_info.timeseries[0]; /* e.g. the Average */
|
||||
const ts_id = getSerieId(ts_info);
|
||||
const metadata = timeserie_info.metric.timeseries[ts_id];
|
||||
const scalar = (metadata.invert_direction === true) ? -1 : 1;
|
||||
const scalar = (metadata?.invert_direction === true) ? -1 : 1;
|
||||
const { timeserie_name, show_full_name } = getName(ts_info, metadata)
|
||||
/* Check if show_full_name is null or undefined */
|
||||
const serie_name = getSerieName(timeserie_name, ts_id, timeserie_info, (show_full_name !== null || show_full_name !== undefined) ? (config.use_full_name && show_full_name) : config.use_full_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue