reactjs / react-chartjs

common react charting components using chart.js
MIT License
2.93k stars 300 forks source link

scatter still not working #185

Open guillaumekugener opened 7 years ago

guillaumekugener commented 7 years ago

Same issue as #178. Here is the package.json file within project:

{
  "name": "app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "chart.js": "^1.1.1",
    "express": "^4.15.3",
    "moment": "^2.18.1",
    "react": "^15.5.4",
    "react-chartjs": "^0.8.0",
    "react-date-picker": "^5.3.28",
    "react-datepicker": "^0.46.0",
    "react-dom": "^15.5.4",
    "react-transition-group": "^1.1.3"
  },
  "devDependencies": {
    "babel-cli": "^6.24.1",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",
    "babelify": "^7.3.0",
    "react-scripts": "0.9.5"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  }
}

I am using the same code as used in #178 to try to generate a line plot and am getting the same error.

Thanks!

Jareechang commented 6 years ago

can you try upgrading chart.js version to 2.5.0 as suggested by @jonchoi in #178 ?