Home forums Using CanvasJS Unable to display pie chart

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 months, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25270

    Hi,

    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

    #25288

    @swathichittani,

    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.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.