test: add test for bar chart

This commit is contained in:
vicanso 2022-02-12 14:35:27 +08:00
parent bdf7bff313
commit da5e950565
8 changed files with 109 additions and 13 deletions

View file

@ -67,7 +67,7 @@ func TestMarkLineRender(t *testing.T) {
assert.Nil(err)
f, _ := chart.GetDefaultFont()
markLineRender(&markLineRenderOption{
markLineRender(markLineRenderOption{
Draw: d,
FillColor: drawing.ColorBlack,
FontColor: drawing.ColorBlack,