@sajeeshe,
So inside this class widgetContainer I am adding another class ( run time ) and there I have to inject the chart.
In the jsfiddle that you have shared, we don’t see any container with class-name being added dynamically. Can you kindly create jsfiddle reproducing your issue, so that we can understand your scenario better and help you out?
—
Vishwas R
Team CanvasJS