feat: support mark line and mark point render
This commit is contained in:
parent
72e11e49b1
commit
8a5990fe8f
10 changed files with 2046 additions and 19 deletions
1321
examples/charts/main.go
Normal file
1321
examples/charts/main.go
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue