feat: support option function for chart render

This commit is contained in:
vicanso 2022-03-08 23:33:16 +08:00
parent 1be8d43405
commit 2316689ce5
5 changed files with 429 additions and 3 deletions

View file

@ -66,7 +66,7 @@ func TestNewSeriesDataFromValues(t *testing.T) {
func TestNewPieSeriesList(t *testing.T) {
assert := assert.New(t)
assert.Equal([]Series{
assert.Equal(SeriesList{
{
Type: ChartTypePie,
Name: "a",