valenting - 2021-09-06

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