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 has been archived by the owner on Nov 26, 2022. It is now read-only.
Right now there is now way to change chart type on same data like bar to line, no dynamic chart selection, I have resolved the issue by removing all the generated HTML elements then regenerate the chart. But I don't prefer that
In the code I have seen code watcher applied on data and options:
$scope.$watch('[data, options]', function (value) { ..... }
But in this watcher, type needs to be added whenever type change it will recreate it and I think it will resolve the issue:
$scope.$watch('[data, options, type]', function (value) { ..... }
At local it's working perfectly
Thanks & Cheers
Yougeshwar Khatri
The text was updated successfully, but these errors were encountered:
ypkkhatri
changed the title
Update chart on type change
Update chart on dynamically type selection
Mar 22, 2017
Hi,
Right now there is now way to change chart type on same data like bar to line, no dynamic chart selection, I have resolved the issue by removing all the generated HTML elements then regenerate the chart. But I don't prefer that
In the code I have seen code watcher applied on data and options:
$scope.$watch('[data, options]', function (value) { ..... }
But in this watcher, type needs to be added whenever type change it will recreate it and I think it will resolve the issue:
$scope.$watch('[data, options, type]', function (value) { ..... }
At local it's working perfectly
Thanks & Cheers
Yougeshwar Khatri
The text was updated successfully, but these errors were encountered: