fixing styling issues w/ the stack bar chart.

This commit is contained in:
Will Charczuk 2017-06-11 11:38:10 -07:00
parent 34de44488d
commit a0ea012903
2 changed files with 52 additions and 5 deletions

View file

@ -10,6 +10,13 @@ import (
func drawChart(res http.ResponseWriter, req *http.Request) {
sbc := chart.StackedBarChart{
Title: "Test Stacked Bar Chart",
TitleStyle: chart.StyleShow(),
Background: chart.Style{
Padding: chart.Box{
Top: 40,
},
},
Height: 512,
XAxis: chart.Style{
Show: true,