feat: support rounded rect for horizontal bar chart

This commit is contained in:
vicanso 2024-05-21 20:26:40 +08:00
parent 9b7634c2c2
commit 9614835723
2 changed files with 23 additions and 8 deletions

View file

@ -65,6 +65,9 @@ func main() {
"China",
"World",
}),
func(opt *charts.ChartOption) {
opt.SeriesList[0].RoundRadius = 5
},
)
if err != nil {
panic(err)