fix: fix x axis label of horizontal bar chart, #42
This commit is contained in:
parent
e10175594b
commit
8ba9e2e1b2
2 changed files with 24 additions and 15 deletions
|
|
@ -26,22 +26,22 @@ func writeFile(buf []byte) error {
|
|||
func main() {
|
||||
values := [][]float64{
|
||||
{
|
||||
8203,
|
||||
18203,
|
||||
23489,
|
||||
29034,
|
||||
104970,
|
||||
131744,
|
||||
630230,
|
||||
10,
|
||||
30,
|
||||
50,
|
||||
70,
|
||||
90,
|
||||
110,
|
||||
130,
|
||||
},
|
||||
{
|
||||
9325,
|
||||
19325,
|
||||
23438,
|
||||
31000,
|
||||
121594,
|
||||
134141,
|
||||
681807,
|
||||
20,
|
||||
40,
|
||||
60,
|
||||
80,
|
||||
100,
|
||||
120,
|
||||
140,
|
||||
},
|
||||
}
|
||||
p, err := charts.HorizontalBarRender(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue