Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doughnut with text in the middle #80

Closed
rzb opened this issue Mar 25, 2017 · 4 comments
Closed

Doughnut with text in the middle #80

rzb opened this issue Mar 25, 2017 · 4 comments

Comments

@rzb
Copy link

rzb commented Mar 25, 2017

I'd like to achieve this:

https://jsfiddle.net/cmyker/ooxdL2vj/

But haven't found a way to register a plugin.

@rzb
Copy link
Author

rzb commented Mar 25, 2017

Never mind. I noticed later that this._chart is available only after rendering and that Chart is global.

@apertureless
Copy link
Owner

Sadly Chart.js is kind of limited if you want to work with the labels and positions of text.
It is a highly requested feature to render the labels inside a doughnut or have connected lines between the chart and the open label.

There is also ECharts which seem to have more features in this directions.

@egeersoz
Copy link

@rzb Can you elaborate on your solution please?

@chhumsina
Copy link

If someone still search for:
https://gist.github.com/chhumsina/9bcc54851d19123d4a849432696f4bda
Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants