feat: support make point and make line
This commit is contained in:
parent
fd05250305
commit
e558634dda
16 changed files with 308 additions and 51 deletions
2
yaxis.go
2
yaxis.go
|
|
@ -62,7 +62,7 @@ func drawYAxis(p *Draw, opt *ChartOption, axisIndex, xAxisHeight int, padding ch
|
|||
SplitLineColor: theme.GetAxisSplitLineColor(),
|
||||
SplitLineShow: true,
|
||||
}
|
||||
width := NewAxis(p, data, style).measureAxis()
|
||||
width := NewAxis(p, data, style).measure().Width
|
||||
|
||||
yAxisCount := len(opt.YAxisList)
|
||||
boxWidth := p.Box.Width()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue