refactor: add example for chinese
This commit is contained in:
parent
38c4978e44
commit
5db24de7ed
5 changed files with 125 additions and 1 deletions
3
axis.go
3
axis.go
|
|
@ -91,6 +91,9 @@ func (a *axisPainter) Render() (Box, error) {
|
|||
}
|
||||
|
||||
font := opt.Font
|
||||
if font == nil {
|
||||
font = a.p.font
|
||||
}
|
||||
if font == nil {
|
||||
font = theme.GetFont()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue