mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes timeseries info issues and added new charts (#8144)
This commit is contained in:
parent
a22d2a94f5
commit
56eba7e685
3 changed files with 99 additions and 55 deletions
|
|
@ -176,7 +176,7 @@ function splitBoundSerie(series, timeserie_info) {
|
|||
const ts_id = getSerieId(ts_info);
|
||||
const serie = ts_info.data || []; /* Safety check */
|
||||
const metadata = timeserie_info.metric.timeseries[ts_id];
|
||||
const scalar = (metadata.invert_direction === true) ? 1 : -1;
|
||||
const scalar = (metadata?.invert_direction === true) ? 1 : -1;
|
||||
|
||||
/* Just add the name, properties, colors, ecc, for the
|
||||
* "main" timeserie and not for the bounds ones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue