Skip to content

Commit 00c4e7a

Browse files
committed
Add some space between graphs
1 parent 2b0488c commit 00c4e7a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/memstats.png

-9.64 KB
Loading

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ func graph(series []chart.Series, width, height int, dpi float64) chart.Chart {
172172
Width: width,
173173
Height: height,
174174
DPI: dpi,
175+
Background: chart.Style{
176+
Padding: chart.NewBox(20, 0, 0, 20),
177+
},
175178
YAxis: chart.YAxis{
176179
Style: chart.StyleShow(),
177180
ValueFormatter: func(v interface{}) string {

0 commit comments

Comments
 (0)