Decimal values are not graphing as expected

Problem:
I am using data from a csv file. The data is: timestamp, value 1, value 2, value 3, value 4. The values are numbers between 1 and 4 with three decimal places but some of the values are being read as whole numbers (i.e. 1.234 is read as 1234) so the whole graph is off. How do I fix this?

Solution:
Add 'decimals-separator':'.', to the csv object to avoid confusions. Otherwise 3.666 will be seen as 3666 and 3.6 as 3600. Please use this demo for reference.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us