Fix typos found by codespell (#10103)

This commit is contained in:
Dimitri Papadopoulos Orfanos
2022-01-27 15:24:55 +01:00
committed by GitHub
parent ec67123df8
commit a7d98fb1a0
16 changed files with 22 additions and 22 deletions

View File

@@ -2,10 +2,10 @@
## Out of the box working samples
These samples are made for demonstration purposes only. They won't work out of the box if you copy paste them into your own website. This is because of how the docs are getting built. Some boilerplate code gets hidden.
For a sample that can be copyed and pasted and used directly you can check the [usage page](../getting-started/usage.md).
For a sample that can be copied and pasted and used directly you can check the [usage page](../getting-started/usage.md).
## Autogenerated data
The data used in the samples is autogenerated using custom functions. These functions do not ship with the library, for more information about this you can check the [utils page](./utils.md).
## Actions block
The samples have an `actions` code block. These actions are not part of chart.js. They are internally transformed to seperate buttons together with onClick listeners by a plugin we use in the documentation. To implement such actions yourself you can make some buttons and add onClick event listeners to them. Then in these event listeners you can call your variable in which you made the chart and do the logic that the button is supposed to do.
The samples have an `actions` code block. These actions are not part of chart.js. They are internally transformed to separate buttons together with onClick listeners by a plugin we use in the documentation. To implement such actions yourself you can make some buttons and add onClick event listeners to them. Then in these event listeners you can call your variable in which you made the chart and do the logic that the button is supposed to do.