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

fontSize for Total in donut chart #1249

Closed
ghost opened this issue Jan 25, 2020 · 1 comment · May be fixed by cherrypoppins226/tfjs-linear-regression-demo#1
Closed

fontSize for Total in donut chart #1249

ghost opened this issue Jan 25, 2020 · 1 comment · May be fixed by cherrypoppins226/tfjs-linear-regression-demo#1

Comments

@ghost
Copy link

ghost commented Jan 25, 2020

Hi

I want to show a fixed value inside the donut.

                                total: {
                                    show: true,                                    
                                    showAlways: true,
                                    label: 'week',
                                    color: '#373d3f',
                                    formatter: function (w) {
                                        return "";
                                    }
                                }                                                                

This is working ok but I don't have control over the font size so I see it like this:
image

Also, I expect it to appear in the middle, how is it possible?

@junedchhipa junedchhipa transferred this issue from apexcharts/vue-apexcharts Jan 26, 2020
@junedchhipa
Copy link
Contributor

Added fontSize & fontFamily to the total label.

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

Successfully merging a pull request may close this issue.

1 participant