26.7.9_3 / 26.7.10: Graph scale values incorrect

Started by camellia, November 29, 2026, 07:02:02 PM

Previous topic - Next topic
Hi everyone

You cannot view this attachment.

Some graphs in "Reporting Health" may have abnormal scale values.
Is this because values after the decimal point are rounded off and omitted?

Additionally, the prefix for kilos should be lowercase, not uppercase.

Which graph exactly (Reporting > Health), and what time range? Try switching to a different resolution/period first and see if the scale still looks off. Also post your exact OPNsense version.

Not sure if this is related. cron upgrade/update to 26.7.10p1. Not sure what this means, and do not think I have seen this before. At 11AM, Firewall: Diagnostics: States did not seem to reflect the graph (pfrate). Number of states seemed normal.


Quote from: camellia on November 29, 2026, 07:02:02 PM[...]Is this because values after the decimal point are rounded off and omitted?[...]

It appears to be, and appears to have been that way for a while (I don't recall the last change to the graphing system). It's... understandable (if you have enough non-truncated graduations), but should be addressed.

This issue appears to occur when different prefixes such as "kilo" and "mega" are mixed. And this issue occurs regardless of the zoom level.

When different prefixes are mixed, the issue can likely be resolved by displaying decimal places, as needed.
Alternatively, it might be better to standardize on a single prefix.


Expected-1  : 200k 400k 600k 800k  1.0M  1.2M  1.4M  1.6M  1.8M

Expected-2a : 200k 400k 600k 800k 1000k 1200k 1400k 1600k 1800k
Expected-2b : 0.2M 0.4M 0.6M 0.8M  1.0M  1.2M  1.4M  1.6M  1.8M

Actual      : 200k 400k 600k 800k    1M    1M    1M    2M    2M


Quote from: pfry on December 01, 2026, 11:15:57 PMI don't recall the last change to the graphing syste

"reporting: health: improve graph metadata, formatting and widget support"

The above is indicated in the 26.7.9 release notes.
This might have had an influence.

Quote from: camellia on December 02, 2026, 04:36:29 PM[...] in the 26.7.9 release notes.
This might have had an influence.

Heh. I was thinking some time in 2025. I'm still on 25.7.11-1, and the display is the same. (New version will go on new machine... eventually.)

I think this explains it. And trying to get used to the change.
Reporting

And quote:
QuoteSeparate the percentages unit to a separate right-side axis, and format the left-side axis logarithmically.

Regardless of whether a linear or logarithmic scale is used, it is inappropriate for different scale values to appear identical.


https://github.com/opnsense/core/pull/11038

A similar issue also occurs in the "States graph" sample mentioned above.
The scale value that should be 1.5K is displayed as 2K.