Skip to content

Commit

Permalink
Changed output graph formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rtmor committed Apr 26, 2020
1 parent 0189d62 commit b03db9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graph/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@ func BuildGraph(nameserver string, clientStatus bool, t, c []float64,
} // we can optionally set the `WindowSize` property which alters how the moving average is calculated.

graph := chart.Chart{
Title: fmt.Sprintf("%v - +subnet_client: %v, +thread_count:%v, +domain_list:%v",
Title: fmt.Sprintf("%v - +subnet_client: %v, +thread_count:%v, +domain_count:%v",
nameserver, clientStatus, threads, dmnCount),
TitleStyle: chart.Style{
FontSize: 12.0,
FontSize: 8.0,
Padding: chart.Box{
Top: 20,
Bottom: 30,
IsSet: true,
},
},
Height: 400,
Width: 650,
Canvas: chart.Style{
Padding: chart.Box{
Top: 60,
Expand Down

0 comments on commit b03db9e

Please sign in to comment.