Recently, I noticed a strange issue with my linecharts. It seems that when I include negative values in the data array, they do not display on the linechart. What could be causing this problem?
As I construct the data array, I convert the values to floats using parseFloat.
An example of the data array is shown below:
[-1.800000000,2.57,-3.72,7.82,-5.0]
The chart only seems to visualize positive values and ignores negative ones as demonstrated above.