Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close

Trend auto axis do not work as intended when using exception values (Not a number, infinity...)
Tested with Codesys 3.5.16.3 and previous with CODESYS Control for Raspberry Pi SL

Expected behaviour using minus infinity :
-a point out of the Y axis range is added
-the point is lower than the Y axis range
-the point is not used to calculate the Y axis range
Current behavior : (see green curve of attached project)
-a point is added at the top of the Y axis range
-the Y axis seems to range from minus infinity to plus infinity
-other values seems to be displayed as zeros (probably a scale problem)

Expected behaviour using Not a Number value :
-no point is added
-a break appear in the curve
-the Not a Number value is not used to calculate the Y axis range
Current behavior : (see blue curve of attached project)
-a point is added at the top of the Y axis range
-the Y axis disappear
-the Y axis reappear and the Y axis range is calculated only with the values following the Not a Number value

2021-09-06Trend auto axis do not work as intended when using exception values (Not a number, infinity...)

Tested with Codesys 3.5.16.3 and previous with CODESYS Control for Raspberry Pi SL

Expected behaviour using minus infinity :

-a point out of the Y axis range is added

-the point is lower than the Y axis range

-the point is not used to calculate the Y axis range

Current behavior : (see green curve of attached project)

-a point is added at the top of the Y axis range

-the Y axis seems to range from minus infinity to plus infinity

-other values seems to be displayed as zeros (probably a scale problem)

Expected behaviour using Not a Number value :

-no point is added

-a break appear in the curve

-the Not a Number value is not used to calculate the Y axis range

Current behavior : (see blue curve of attached project)

-a point is added at the top of the Y axis range

-the Y axis disappear

-the Y axis reappear and the Y axis range is calculated only with the values following the Not a Number value