adds SliceStyle for pie chart.

This commit is contained in:
Will Charczuk 2016-07-28 19:17:35 -07:00
parent df971b61d1
commit 88b6b2274d
4 changed files with 22 additions and 7 deletions

View file

@ -10,6 +10,8 @@ import (
func drawChart(res http.ResponseWriter, req *http.Request) {
pie := chart.PieChart{
Width: 512,
Height: 512,
Canvas: chart.Style{
FillColor: chart.ColorLightGray,
},