fix: fix series render of horizontal bar, #31

This commit is contained in:
vicanso 2022-11-03 21:31:53 +08:00
parent a88e607bfc
commit bdcc871ab1
4 changed files with 25 additions and 6 deletions

View file

@ -26,6 +26,7 @@ func writeFile(buf []byte) error {
func main() {
values := [][]float64{
{
8203,
18203,
23489,
29034,
@ -34,6 +35,7 @@ func main() {
630230,
},
{
9325,
19325,
23438,
31000,
@ -56,6 +58,7 @@ func main() {
"2012",
}),
charts.YAxisDataOptionFunc([]string{
"UN",
"Brazil",
"Indonesia",
"USA",