carlcraig / tc-angular-chartjs

AngularJS directives for Chart.js
http://carlcraig.github.io/tc-angular-chartjs/
Other
233 stars 83 forks source link

How to manipulate scale, position, width and circumference of doughnut? #70

Closed sujit7 closed 8 years ago

carlcraig commented 8 years ago

this is more of a chart.js question.

You most likely have Chart.js 1.X running, as this does not support 2.X just yet..

Take a look at the documentation for 1.X Chart.js https://github.com/chartjs/Chart.js/blob/v1.1.1/docs/05-Pie-Doughnut-Chart.md#chart-options

And here: http://carlcraig.github.io/tc-angular-chartjs/doughnut/

You should be able to change the options to do what you mention.

I will close this now, please let me know if you still have any issues.

sujit7 commented 8 years ago

I've already gone through these. But I don't see any option fitting my requirements. But anyway, you can close. I'll see if I can find a work around for that.

carlcraig commented 8 years ago

i will reopen.. would you be able to outline in a bit more detail what you want to achieve? maybe someone else has done something similar

sujit7 commented 8 years ago

Sure.. that will be good

carlcraig commented 8 years ago

Closing this for now, please look into the 2.X chart.js documentation, there might be a way to achieve this now.

http://www.chartjs.org/docs/ https://github.com/chartjs/Chart.js/issues

alwinkpc commented 7 years ago

Nothing yet. Seems something as basic as set the circumference width cannot be done with this library