feat: support hide symbol of line chart

This commit is contained in:
vicanso 2022-07-27 20:32:31 +08:00
parent e095223705
commit 817fceff73
4 changed files with 12 additions and 4 deletions

View file

@ -377,9 +377,10 @@ func Render(opt ChartOption, opts ...OptionFunc) (*Painter, error) {
if len(lineSeriesList) != 0 {
handler.Add(func() error {
_, err := NewLineChart(p, LineChartOption{
Theme: opt.theme,
Font: opt.font,
XAxis: opt.XAxis,
Theme: opt.theme,
Font: opt.font,
XAxis: opt.XAxis,
SymbolShow: opt.SymbolShow,
}).render(renderResult, lineSeriesList)
return err
})