test: add test for axis

This commit is contained in:
vicanso 2022-06-18 10:38:46 +08:00
parent 635e440e85
commit d3c6649cd9
12 changed files with 145 additions and 40 deletions

View file

@ -92,7 +92,7 @@ func (l *legendPainter) Render() (Box, error) {
opt := l.opt
theme := opt.Theme
if opt.IsEmpty() ||
(opt.Show != nil && !*opt.Show) {
isFalse(opt.Show) {
return BoxZero, nil
}
if theme == nil {