feat: support bar height for horizontal bar chart

This commit is contained in:
vicanso 2022-09-29 20:20:54 +08:00
parent 0a80e7056f
commit 6652ece0fe
4 changed files with 11 additions and 3 deletions

View file

@ -68,6 +68,8 @@ type ChartOption struct {
LineStrokeWidth float64
// The bar with of bar chart
BarWidth int
// The bar height of horizontal bar chart
BarHeight int
// Fill the area of line chart
FillArea bool
// The child charts