examples.
This commit is contained in:
parent
8b6afae778
commit
12d115cca5
2 changed files with 6 additions and 2 deletions
|
@ -147,7 +147,11 @@ var (
|
||||||
ColorAlternateGreen,
|
ColorAlternateGreen,
|
||||||
ColorAlternateGray,
|
ColorAlternateGray,
|
||||||
ColorAlternateYellow,
|
ColorAlternateYellow,
|
||||||
ColorAlternateLightGray,
|
ColorBlue,
|
||||||
|
ColorGreen,
|
||||||
|
ColorRed,
|
||||||
|
ColorCyan,
|
||||||
|
ColorOrange,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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"},
|
||||||
|
|
Loading…
Reference in a new issue