Home Forums Chart Support can’t bind ‘canvasjs-chart’ in Angular

can’t bind ‘canvasjs-chart’ in Angular

Viewing 4 posts - 1 through 4 (of 4 total)
  • #38849

    Hi all . Today i tried to demo canvasjs.chart in angular but seem like it not working well. I have followed the guide https://canvasjs.com/docs/charts/integration/angular/ but it turn some error like

    Error: src/app/app.component.html:2:19 – error NG8002: Can’t bind to ‘options’ since it isn’t a known property of ‘canvasjs-chart’.
    1. If ‘canvasjs-chart’ is an Angular component and it has ‘options’ input, then verify that it is part of this module.
    2. If ‘canvasjs-chart’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.
    3. To allow any property add ‘NO_ERRORS_SCHEMA’ to the ‘@NgModule.schemas’ of this component.

    i have imported canvasjs.angular.component and save canvasjs.min.js into project. Can anyone help me this T_T

    #38852

    @top9x-lee,

    Can you kindly create sample project reproducing the issue you are facing & share it with us over Google-Drive or Onedrive so that we can run it locally at our end to understand the scenario better and help you out?

    —-
    Manoj Mohan
    Team CanvasJS

    #39194

    Hi! Actually the issue is with the scope. It is working in app.component.html not working in self generated components. I am still solving it.

    #39222

    @abhey,

    Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with sample data so that we can look into your code, run it locally at our end to understand the scenario better and help you out?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue at our end or not able to understand the exact requirements or due to the variation in chart-options being used by you and us. Because of these reasons we expect you so share sample project along with sample data(dummy data) which helps us run it locally at our end to understand the use case and help you resolve.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.