i created a visualization and I want to update current state with values from vis.params.
the problem is that the function is executed several times, and I want it to run only one time.
So when can i place the fonction in my code ? i was tried in and out the $scope.$watch.
Thank you for your help !
Are you saying you don't want to watch the params for updates, you only want to set them once?
I can change my params in my dataviz but i can't save them,
when i save the new values, and i reload the dataviz, i got it with the old values params.
And when i use vis.updateState(); in my script and i save the new values, that's work, but that it saves every second, i don't know why ... i hope that you understand my issue.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.