Home › forums › Using CanvasJS › How to generate charts based on user inputs?
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.
I can still see same set of errors as before.
It seems to be working fine.
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.
You must be logged in to reply to this topic.