mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-13 11:46:55 +01:00
Merge pull request #1367 from achichenin/patch-1
Update 00-Getting-Started.md
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user