feat: support vertical orient legend
This commit is contained in:
parent
c5e2ae67cb
commit
3219ce521b
4 changed files with 248 additions and 30 deletions
5
draw.go
5
draw.go
|
|
@ -39,6 +39,11 @@ const (
|
|||
PositionBottom = "bottom"
|
||||
)
|
||||
|
||||
const (
|
||||
OrientHorizontal = "horizontal"
|
||||
OrientVertical = "vertical"
|
||||
)
|
||||
|
||||
type Draw struct {
|
||||
Render chart.Renderer
|
||||
Box chart.Box
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue