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

@ -68,7 +68,7 @@ func TestMarkPointRender(t *testing.T) {
assert.Nil(err)
f, _ := chart.GetDefaultFont()
markPointRender(&markPointRenderOption{
markPointRender(markPointRenderOption{
Draw: d,
FillColor: drawing.ColorBlack,
Font: f,