I am trying to implement image in my easy pie chart but it is not inside the pie chart but whatever we add is displayed out from the circle/chart. i alse tried two two binding or tried giving ng model but still not working.
Html:
<script src="https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/angular.easypiechart.js" ></script>
<div easypiechart options="options" percent="percent" ng-model="data" ></div>
JS:
var Application = angular.module('Ui', ['ui.bootstrap','easypiechart']);
Application.controller('global', function($scope,$timeout,dateFilter,$interval) {
$scope.data =1;
$scope.percent = 65;
$scope.options = {
animate:{
duration:0,
enabled:false
},
barColor:'#2C3E50',
scaleColor:false,
lineWidth:2,
lineCap:'circle'
};
});