I'm trying to update a chart based on an array entered in an input.
The array is entered in the input as follows, and on button click updates the chart data
On button click, I do the following mapping:
Unfortunately, The chart only maps 1 character per point on the chart, which means that if a number is 123, it maps "1" as the first point on the chart, "2" as the next point, and "3" as the next point, instead of "123". I need it to map a number with potentially up to 2 decimals.