Closed ljerka closed 7 years ago
{{ (data[1].myNbr }}
What is the (
for ?
A typo :) I deleted some parts of the code and the bracket remained by mistake. I edited it now, thanks.
your $scope.data is async data ? chart must be render after data is fetched. some directives are not 2-way binding. check this demo, you can use ng-if to hold the chart render after fetched https://codepen.io/anon/pen/YpEmNj?editors=1010#anon-login
I'm trying to make a donut from values I get from json file, for example:
But it draws only a gray circle. I can't get it to draw the value from
data[1].myNbr
. although that definitely is a number. Also, it doesn't writeout the title. Any ideas? Thanks!Btw, I saw #130 and your reply, and found the possibility of binding data
but I have to manipulate the data and hoped to do it inside html file.