Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

DoughnutWithTextInside #75

Open
lemonCMS opened this issue Feb 3, 2016 · 5 comments
Open

DoughnutWithTextInside #75

lemonCMS opened this issue Feb 3, 2016 · 5 comments
Milestone

Comments

@lemonCMS
Copy link

lemonCMS commented Feb 3, 2016

Hi,

I have created the DoughnutWithTextInside this will set centered text within the doughnut.
Right now it set a percentage, this is what i needed for my project.

Perhaps you would find this interesting into implementing something like this into your package.
You can tak a look at https://github.com/lemonCMS/react-chartjs

Kind Regards,
Raymond

@Malachi-M
Copy link

Hey great branch! One of the issues I ran into when implementing the DoughnutWithTextInside was that the fontSize is calculated by a hard coded factor. It would be great if the fontSize could be exposed in the options object.

@checkhavoc
Copy link

Hi @lemonCMS,

I need a Doughnut chart with text inside as well, but instead of creating an additional fork or pull request, do you think you can submit your changes as a pull request with the fontSize that @Malachi-M mentioned?

Hopefully then, the pull request can be approved afterwards :)

@Malachi-M
Copy link

Hello @checkhavoc,
I have created a pull request with the added labelScale option. It is available here.
I hope it helps!
Malachi

@austinpray austinpray added this to the 1.0.0 milestone Mar 27, 2016
@sunnybogawat
Copy link

How to use this feature along with reactJS component. This is not listed in the readme file. Could you please lets us know how I can set dynamic text inside doughnut graph

@zenonn37
Copy link

1+

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

No branches or pull requests

6 participants