You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
In the above code, chart type is not changing from the controller scope. But this works perfectly in angular-chartjs. How can i change the chart type dynamically by clicking a button?. Thanks.
The text was updated successfully, but these errors were encountered:
I had the same issue and solved it by wrapping type into {{}}. According to source code chart-type attribute handling differs from the one for chart-data and chart-options attributes. Directive scope is defined as follows:
In the above code, chart type is not changing from the controller scope. But this works perfectly in angular-chartjs. How can i change the chart type dynamically by clicking a button?. Thanks.
The text was updated successfully, but these errors were encountered: