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

Pie does not return image with value 0 input #194

Open
martinlindhe opened this issue Mar 30, 2022 · 0 comments
Open

Pie does not return image with value 0 input #194

martinlindhe opened this issue Mar 30, 2022 · 0 comments

Comments

@martinlindhe
Copy link

martinlindhe commented Mar 30, 2022

Rendering a pie chart with the following values does not return an image at all.

[]chart.Value{{Value: 0, Label: "Critical"}}

go.mod:
github.com/wcharczuk/go-chart/v2 v2.1.0

Expected result: An image with an empty pie showing (maybe a circle outline in given Style) and the Label printed on the image

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