test: add test for legend and draw
This commit is contained in:
parent
c01f4001f1
commit
54f0195c53
4 changed files with 67 additions and 14 deletions
1
bar.go
1
bar.go
|
|
@ -43,6 +43,7 @@ func (bs *BarStyle) Style() chart.Style {
|
|||
}
|
||||
}
|
||||
|
||||
// Bar renders bar for chart
|
||||
func (d *Draw) Bar(b chart.Box, style BarStyle) {
|
||||
s := style.Style()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue