test: add test for axis
This commit is contained in:
parent
635e440e85
commit
d3c6649cd9
12 changed files with 145 additions and 40 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue