feat: support setting bar width for bar chart, #24

This commit is contained in:
vicanso 2022-09-28 20:29:22 +08:00
parent 1f5b9d513e
commit 0a80e7056f
3 changed files with 14 additions and 5 deletions

View file

@ -66,6 +66,8 @@ type ChartOption struct {
SymbolShow *bool
// The stroke width of line chart
LineStrokeWidth float64
// The bar with of bar chart
BarWidth int
// Fill the area of line chart
FillArea bool
// The child charts