main
bel 2024-02-14 09:58:11 -07:00
parent b084195a6f
commit ba824be243
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ func run(ctx context.Context) error {
Title: config.Data.Title,
Subtitle: config.Data.Subtitle,
}))
scatter.SetGlobalOptions(charts.WithTooltipOpts(opts.Tooltip{
Show: true,
Formatter: `{c}`,
}))
scatter.SetGlobalOptions(charts.WithLegendOpts(opts.Legend{Show: false}))
scatter.SetGlobalOptions(charts.WithXAxisOpts(opts.XAxis{
Name: x,