refactor: add example for chinese

This commit is contained in:
vicanso 2022-06-18 08:55:46 +08:00
parent 38c4978e44
commit 5db24de7ed
5 changed files with 125 additions and 1 deletions

View file

@ -252,6 +252,7 @@ func Render(opt ChartOption, opts ...OptionFunc) (*Painter, error) {
Type: opt.Type,
Width: opt.Width,
Height: opt.Height,
Font: opt.font,
})
if err != nil {
return nil, err