fix: support chinese for axis, #4

This commit is contained in:
vicanso 2022-05-01 11:15:13 +08:00
parent a713c3023e
commit cad8296e28
4 changed files with 7 additions and 0 deletions

View file

@ -190,6 +190,7 @@ func (o *ChartOption) FillDefault(theme string) {
if o.XAxis.Theme == "" {
o.XAxis.Theme = theme
}
o.XAxis.Font = o.Font
}
func (o *ChartOption) getWidth() int {