Home Forums Chart Support Unable to display pie chart

Unable to display pie chart

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

    Hi,

    i have tried the code mentioned in below link to display a pie chart.
    https://canvasjs.com/react-charts/pie-chart-indexlabels/

    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.