feat: support bar margin

This commit is contained in:
vicanso 2024-06-07 20:35:03 +08:00
parent 32e6dd52d0
commit e7dc4189d5
4 changed files with 20 additions and 4 deletions

View file

@ -67,6 +67,8 @@ type ChartOption struct {
LineStrokeWidth float64
// The bar with of bar chart
BarWidth int
// The margin of each bar
BarMargin int
// The bar height of horizontal bar chart
BarHeight int
// Fill the area of line chart