examples.

This commit is contained in:
Will Charczuk 2016-07-29 23:31:49 -07:00
parent 8b6afae778
commit 12d115cca5
2 changed files with 6 additions and 2 deletions

View File

@ -147,7 +147,11 @@ var (
ColorAlternateGreen, ColorAlternateGreen,
ColorAlternateGray, ColorAlternateGray,
ColorAlternateYellow, ColorAlternateYellow,
ColorAlternateLightGray, ColorBlue,
ColorGreen,
ColorRed,
ColorCyan,
ColorOrange,
} }
) )

View File

@ -21,7 +21,7 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
}, },
Bars: []chart.StackedBar{ Bars: []chart.StackedBar{
{ {
Name: "Funnel", Name: "Katrina like animals that are very fat and furry.",
Values: []chart.Value{ Values: []chart.Value{
{Value: 5, Label: "Blue"}, {Value: 5, Label: "Blue"},
{Value: 5, Label: "Green"}, {Value: 5, Label: "Green"},