From: Jáchym Toušek Date: Tue, 3 Nov 2015 12:49:34 +0000 (+0100) Subject: typo X-Git-Tag: 2.0.0-beta1~31^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1612%2Fhead;p=thirdparty%2FChart.js.git typo --- diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 0b32323e9..4ccf20de7 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -48,7 +48,7 @@ To create a chart, we need to instantiate the `Chart` class. To do this, we need // Any of the following formats may be used var ctx = document.getElementById("myChart"); var ctx = document.getElementById("myChart").getContext("2d"); -var ctx = $("myChart"); +var ctx = $("#myChart"); ``` Once you have the element or context, you're ready to instantiate a pre-defined chart-type or create your own!