feat: support horizontal bar chart
This commit is contained in:
parent
b69728dd12
commit
3f24521593
15 changed files with 677 additions and 91 deletions
4
alias.go
4
alias.go
|
|
@ -31,6 +31,8 @@ type Box = chart.Box
|
|||
type Style = chart.Style
|
||||
type Color = drawing.Color
|
||||
|
||||
var BoxZero = chart.BoxZero
|
||||
|
||||
type Point struct {
|
||||
X int
|
||||
Y int
|
||||
|
|
@ -42,6 +44,8 @@ const (
|
|||
ChartTypePie = "pie"
|
||||
ChartTypeRadar = "radar"
|
||||
ChartTypeFunnel = "funnel"
|
||||
// horizontal bar
|
||||
ChartTypeHorizontalBar = "horizontalBar"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue