mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes inverted scalar value (#8268)
This commit is contained in:
parent
a07d16b4ec
commit
e2b9fc4f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,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