]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typo / grammar in the responsive docs (#5975)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Fri, 11 Jan 2019 06:31:36 +0000 (22:31 -0800)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 11 Jan 2019 06:31:36 +0000 (07:31 +0100)
docs/general/responsive.md

index fd92aa494f0ae41fab3acb734c20c594a4a5036f..9c43055f8c1599a487c393bf6e74ea4cc2eb1570 100644 (file)
@@ -1,6 +1,6 @@
 # Responsive Charts
 
-When it comes to change the chart size based on the window size, a major limitation is that the canvas *render* size (`canvas.width` and `.height`) can **not** be expressed with relative values, contrary to the *display* size (`canvas.style.width` and `.height`). Furthermore, these sizes are independent from each other and thus the canvas *render* size does not adjust automatically based on the *display* size, making the rendering inaccurate.
+When it comes to changing the chart size based on the window size, a major limitation is that the canvas *render* size (`canvas.width` and `.height`) can **not** be expressed with relative values, contrary to the *display* size (`canvas.style.width` and `.height`). Furthermore, these sizes are independent from each other and thus the canvas *render* size does not adjust automatically based on the *display* size, making the rendering inaccurate.
 
 The following examples **do not work**: