Home › forums › Using CanvasJS › Unable to display pie chart
i have tried the code mentioned in below link to display a pie chart.
React Pie Charts & Graphs
This results me below error..
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports.
Check the render method of App.
▶ 36 stack frames were collapsed.
Can someone please help
React Charts seems to be working fine, please download React Samples from our download page.
If the issue still persists, kindly create sample project and share it with us over Google-Drive or Onedrive so that we can run it at our end, understand the scenario better and help you resolve the same.
You must be logged in to reply to this topic.