test: add test for funnel chart
This commit is contained in:
parent
29c9281d7c
commit
ad70a48944
7 changed files with 276 additions and 10 deletions
2
axis.go
2
axis.go
|
|
@ -194,7 +194,7 @@ func (a *axisPainter) Render() (Box, error) {
|
|||
|
||||
switch opt.Position {
|
||||
case PositionTop:
|
||||
labelPaddingTop = labelMargin
|
||||
labelPaddingTop = 0
|
||||
x1 = p.Width()
|
||||
y0 = labelMargin + int(opt.FontSize)
|
||||
ticksPaddingTop = int(opt.FontSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue