Hi,
i still test the new version. Everything is working fine.
I tried the new feature for SCALE vlaues < 0, cause i need this for some optical parameters. It doesn't work with my values. I get the following error:
WARNING: [Map 5] ons-rz3-inside.conf: NewColourFromPercent: Clipped -500% to 0% for item x-1/2-rx
or
WARNING: [Map 5] ons-rz3-inside.conf: NewColourFromPercent: Clipped -2% to 0% for item x-1/2-tx
My graph values at this time are -50 and -0.2 (dBm). But i use a CDEF to divide the value by 10, cause original values are -500 and -2.
-------------------------
Here is my code:
HTMLSTYLE overlib
SCALE trunk_status -60 -39.9 0 255 0 images/ons_trunk_3.png
SCALE trunk_status -39.9 60 255 0 0 images/ons_trunk_1.png
#osc-line(tx)
NODE x-1/2-tx
POSITION 56 336
TARGET gauge:../../rra/x_5min_opt_tx_co_590.rrd:5min_opt_tx_co:-
ICON 6 9 {node:this:inscaletag}
USESCALE trunk_status in
#osc-line(rx)
NODE x-1/2-rx
POSITION 50 336
TARGET gauge:../../rra/x_5min_opt_rx_co_586.rrd:5min_opt_rx_co:-
ICON 6 9 {node:this:inscaletag}
USESCALE trunk_status in
-------------------------------
1. Is there something wrong in my conf or is it not possible to use values like my one?
2. Isn't it possible to use CDEFs? It would be great, if i could use them like in my graphs.