From da41605882da8237970edffe92c9970065bfe378 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Tue, 12 Jul 2016 22:19:07 -0700 Subject: [PATCH] example code. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f859ae5..d45788b 100644 --- a/README.md +++ b/README.md @@ -111,12 +111,12 @@ graph := chart.Chart{ Height: height, XAxis: chart.XAxis{ Style: chart.Style{ - Show: showAxes, + Show: true, }, }, YAxis: chart.YAxis{ Style: chart.Style{ - Show: showAxes, + Show: true, }, }, Series: []chart.Series{ @@ -125,6 +125,7 @@ graph := chart.Chart{ XValues: vx, YValues: vy, Style: chart.Style{ + Show: true, StrokeColor: chart.GetDefaultSeriesStrokeColor(0), FillColor: chart.GetDefaultSeriesStrokeColor(0).WithAlpha(64), }, @@ -135,6 +136,7 @@ graph := chart.Chart{ YValues: cy, YAxis: chart.YAxisSecondary, // key (!) Style: chart.Style{ + Show: true, StrokeColor: chart.GetDefaultSeriesStrokeColor(1), FillColor: chart.GetDefaultSeriesStrokeColor(1).WithAlpha(64), },