Home forums Chart Support How to generate charts based on user inputs?


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

    I want to generate 3 graphs – monthly, quarterly and yearly. If I hard code the containers for each of them, I’m able to see all the charts. Suppose I give user to option selection the chart types form a list, I’m unable to see the graphs. I get the following – CanvasJS Error: Chart Container with id “monthly-chart” was not found

    Here’s the reproduceable code – https://stackblitz.com/edit/angular-test-canvasjs?embed=1



    Please take a look at this updated sample.

    Manoj Mohan
    Team CanvasJS


    Hi Manoj,

    I can still see same set of errors as before.




    It seems to be working fine.
    CanvasJS Dynamic Chart in Angular

    In case you are still facing the issue, create a sample reproducing the issue so that we can understand your issue better and help you out.

    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.