Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in documentation #6

Closed
borgar opened this issue Mar 18, 2013 · 2 comments
Closed

Typo in documentation #6

borgar opened this issue Mar 18, 2013 · 2 comments

Comments

@borgar
Copy link

borgar commented Mar 18, 2013

The documentation gives this example code:

//Get the context of the canvas element we want to select
var ctx = document.getElementbyID("myChart").getContext("2d");
var myNewChart = new Chart(ctx).PolarArea(data);

Here getElementbyID should of course be getElementById.

@nnnick
Copy link
Member

nnnick commented Mar 18, 2013

Oops! Well noticed - sorted now.

@nnnick nnnick closed this as completed Mar 18, 2013
@liuxiachanghong
Copy link

Same type in documentation.
var ctx = document.getElementbyId...
var ctx = document.getElementById...
Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants