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

This commit is contained in:
Oleg Neumyvakin 2017-12-23 18:02:20 +07:00
parent f72f7fd57b
commit ac9298089a
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