mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Update 00-Getting-Started.md
tiny typo fix
This commit is contained in:
parent
f5b44acc38
commit
1cdc046566
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user