adds SliceStyle for pie chart.
This commit is contained in:
parent
df971b61d1
commit
88b6b2274d
4 changed files with 22 additions and 7 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue