txbm / angular-chartjs

Directive set for the ChartJS library. Supports data bindings and attribute-level specification for chart specific options. The only Angular ChartJS module that supports ALL chart options as HTML5 attributes :)
MIT License
146 stars 37 forks source link

options are not applied to pie chart #31

Closed vineshhpatel closed 9 years ago

vineshhpatel commented 9 years ago

My html:

<cjs-pie dataset="graphData" options="graphOptions" width="80px" height="40px"></cjs-pie>

controller code: $scope.graphData = [ { value: 10, color:"#FFE" }, { value: 5, color: "rgba(0,0,0,0.5)" } ]; $scope.graphOptions = { animateRotate: false };

When I debug into chart js code, I found animateRotate property to be true. I am using chart js version 1.0.1-beta.4