feat: support mark line and mark point render

This commit is contained in:
vicanso 2022-06-13 23:22:15 +08:00
parent 72e11e49b1
commit 8a5990fe8f
10 changed files with 2046 additions and 19 deletions

1321
examples/charts/main.go Normal file

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,19 @@ func main() {
Right: 10,
Bottom: 10,
},
TitleOption: charts.TitleOption{
Text: "Line",
},
LegendOption: charts.LegendOption{
Data: []string{
"Email",
"Union Ads",
"Video Ads",
"Direct",
"Search Engine",
},
Left: charts.PositionCenter,
},
XAxis: charts.NewXAxisOption([]string{
"Mon",
"Tue",