diff --git a/_examples/scatter/main.go b/_examples/scatter/main.go index b7d15af..d1394f1 100644 --- a/_examples/scatter/main.go +++ b/_examples/scatter/main.go @@ -8,7 +8,6 @@ import ( ) func drawChart(res http.ResponseWriter, req *http.Request) { - println("drawing scatter plot") graph := chart.Chart{ Series: []chart.Series{ chart.ContinuousSeries{ @@ -20,6 +19,24 @@ func drawChart(res http.ResponseWriter, req *http.Request) { XValues: chart.Sequence.Random(32, 1024), YValues: chart.Sequence.Random(32, 1024), }, + chart.ContinuousSeries{ + Style: chart.Style{ + Show: true, + StrokeWidth: chart.Disabled, + DotWidth: 5, + }, + XValues: chart.Sequence.Random(16, 1024), + YValues: chart.Sequence.Random(16, 1024), + }, + chart.ContinuousSeries{ + Style: chart.Style{ + Show: true, + StrokeWidth: chart.Disabled, + DotWidth: 7, + }, + XValues: chart.Sequence.Random(8, 1024), + YValues: chart.Sequence.Random(8, 1024), + }, }, }