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

donut chart data.empty.label.text is overlaped on title. #2798

Open
koocci opened this issue Jun 24, 2020 · 0 comments
Open

donut chart data.empty.label.text is overlaped on title. #2798

koocci opened this issue Jun 24, 2020 · 0 comments

Comments

@koocci
Copy link

koocci commented Jun 24, 2020

Hello,
When I use donut chart, data.empty.label.text is overlaped on donut.title.
I think title have to disappear when data is empty.
Can you please support above issue?
thanks.

스크린샷 2020-06-24 오후 4 50 03
스크린샷 2020-06-24 오후 4 50 08

var chart = c3.generate({
    data: {
        columns: [
            ['data1', 30],
            ['data2', 120],
        ],
        type : 'donut',
        empty : {
            label: {
                text: "No Data"
            }
        }
    },
    donut: {
        title: "Iris Petal Width"
    }
});
  • C3 version: 0.7.10
  • D3 version: v5.16.0
  • Browser: chrome, explorer
  • OS: MacOS, Window10
morgan12 pushed a commit to morgan12/c3 that referenced this issue Oct 5, 2020
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

No branches or pull requests

1 participant