Unable to make a directive for pie chart
-
I have read a post on angular js and d3 directives but when i tries to do the same for pie chart it’s failing. I’m not able to pass the data. Can someone help me with this.
Link to the piechart.
http://jsfiddle.net/potherca/15L50m89/
-
@sss I had a lot of issues getting d3 working. I was able to get Chart.JS going with amazing results though. I know its not what you wanted, but if you want that code where I am passing sqlite data to it, I can post that. It may help but its vanilla.