feat: support get and set default font
This commit is contained in:
parent
2ed86a81d0
commit
de4250f60b
6 changed files with 24 additions and 10 deletions
|
|
@ -351,7 +351,7 @@ func TestPainterTextFit(t *testing.T) {
|
|||
Type: ChartOutputSVG,
|
||||
})
|
||||
assert.Nil(err)
|
||||
f, _ := chart.GetDefaultFont()
|
||||
f, _ := GetDefaultFont()
|
||||
style := Style{
|
||||
FontSize: 12,
|
||||
FontColor: chart.ColorBlack,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue