Port changes 'fixing styling issues w/ the stack bar chart.' from commit a0ea012903 (#66)

This commit is contained in:
oneumyvakin 2018-01-25 00:43:24 +07:00 committed by Will Charczuk
parent f72f7fd57b
commit 11e380634b
3 changed files with 40 additions and 4 deletions

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After