@amania,
After looking into your code, it seems you have parsed dataPoints into a variable called dataPoints
. But you are assigning a different variable within chart option/data.
Passing the variable dataPoints
within chart options/data should work fine in your case.
If you are still facing the issue kindly create a sample project reproducing the issue and share it with us along with the sample CSV over Google-Drive or Onedrive so that we can run your code locally, understand your scenario better and help you out.
___________
Indranil Deo
Team CanvasJS