From: achichenin Date: Sat, 8 Aug 2015 12:15:57 +0000 (+0300) Subject: Update 00-Getting-Started.md X-Git-Tag: 2.0.0-alpha4~51^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1367%2Fhead;p=thirdparty%2FChart.js.git Update 00-Getting-Started.md tiny typo fix --- diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index a678a46d6..0ff54a538 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -46,7 +46,7 @@ To create a chart, we need to instantiate the `Chart` class. To do this, we need ```javascript // Get the context of the canvas element we want to select var ctx = document.getElementById("myChart").getContext("2d"); -var myNewChart = Chart.PolarArea(chart, { +var myNewChart = Chart.PolarArea(ctx, { data: data, options: config }); @@ -490,4 +490,4 @@ The `userCallback` function allows the user fine grained control over how labels } } } -``` \ No newline at end of file +```