go-chart
go-chart copied to clipboard
Is it not supported go mod ?
It behaves abnormally when using go mod
This is because Go Modules uses the latest release tag. Try to specify the commit when you use go get, such as:
go get github.com/wcharczuk/go-chart@3a7bc55431138d52d74bf4a1388374c01e09445d
yeah this is fixed on master
how about making a new tag? The last tag (2.0.1) is like a year old
Yes, that would resolve this issue.
I've been searching for a long time to fix this issue. Thank god.
I was getting empty images (0 bytes) after running:
graph.Render(chart.PNG, f)
The solution provided by @humaidq was the fix.