Home forums Using CanvasJS Getting error while integrating pie chart in angularjs code

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 2 months, 2 weeks ago.

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

    legend.js:377 Uncaught Error: Module parse failed: Unexpected token (1:7)
    You may need an appropriate loader to handle this file type.
    | export SplineChart from ‘../charts/spline’;
    | export ColumnChart from ‘../charts/column’;
    | export StackedColumnChart from ‘../charts/stacked_column’;
    at Object.<anonymous> (legend.js:377)
    at __webpack_require__ (bootstrap 514a9f913d1225ec8f55:54)
    at Object.<anonymous> (index.js:63)
    at __webpack_require__ (bootstrap 514a9f913d1225ec8f55:54)
    at Object.<anonymous> (index.js:1)
    at __webpack_require__ (bootstrap 514a9f913d1225ec8f55:54)
    at Object.342 (main.js:43)
    at __webpack_require__ (bootstrap 514a9f913d1225ec8f55:54)
    at Object.467 (main.js:494)
    at __webpack_require__ (bootstrap 514a9f913d1225ec8f55:54)

    #23966

    @tapu,

    Can you kindly create a sample project with sample dataPoints and share it over Google-Drive or Onedrive, so that we can look into your code, understand the issue properly and help you out?

    ____________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.