Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant