feat: support vertical orient legend

This commit is contained in:
vicanso 2022-02-04 18:34:31 +08:00
parent c5e2ae67cb
commit 3219ce521b
4 changed files with 248 additions and 30 deletions

View file

@ -39,6 +39,11 @@ const (
PositionBottom = "bottom"
)
const (
OrientHorizontal = "horizontal"
OrientVertical = "vertical"
)
type Draw struct {
Render chart.Renderer
Box chart.Box