test: add test for funnel chart

This commit is contained in:
vicanso 2022-06-18 20:46:12 +08:00
parent 29c9281d7c
commit ad70a48944
7 changed files with 276 additions and 10 deletions

View file

@ -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)