Inverse Graphs in 2.0.4

Started by Tursiops, June 10, 2016, 04:34:15 AM

Previous topic - Next topic

Tursiops

Hi,

Since installing the NetXMS 2.0.4 Management Console I a m having issues with graphs with "Invert values".
If the values are of type "Area", they work fine. If they are of type "Line", the scale will change, but the line will not be inverted on the graph.s
So if the y-axis was going from 0 to 20M, it will now show -20M to 20M, but the line itself will not be inverted. As soon as I switch to "Area" it works fine.
Not sure if this is related to the actual values in the legend now not being inverted either. I recall in 2.0.3 when I inverted a value, it would show as negative in the extended legend, too. It no longer does that in 2.0.4 (which is good :) ).

Note: I have not upgraded the server to 2.0.4 yet (waiting for repository update for Ubuntu), but this looks like a Console, not a Server issue.

Has anyone else noticed this behaviour?

Victor Kirhenshtein

Hi,

yes, it's a bug in console. In 2.0.4 we changed drawing of inverted values - before that values were inverted before passing to chart for drawing, hence negative values in legend. Now inverted drawing functionality moved into chart widget, so it shows correct values in legend.
Fix for that will be included in 2.0.5 and 2.1-M1, I can also make console build from current development branch if needed.

Best regards,
Victor