krispo / angular-nvd3

AngularJS directive for NVD3 reusable charting library (based on D3). Easily customize your charts via JSON API.
http://krispo.github.io/angular-nvd3
MIT License
1.29k stars 377 forks source link

adding labels inside the donut chart #379

Open tejav260 opened 8 years ago

tejav260 commented 8 years ago

unable to add the labels inside the chart and unable to reduce the inner radius of donut. can anybody help me in these.

Thanks.

Demesheo commented 8 years ago

a code example replicating your issue would be able to point everybody in the right direction for a solution

But I'd suggest looking at setting your DonutChart.chart.title = 'string', and for the inner radius play with decimal values between 1 and 0 in DonutChart.chart.donutRatio