]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Shorthand labels key in getting started (#9465)
authorYash Singh <saiansh2525@gmail.com>
Tue, 27 Jul 2021 20:48:14 +0000 (13:48 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 20:48:14 +0000 (23:48 +0300)
* Shorthand labels key in getting started

* Change to longhand

docs/getting-started/index.md

index 8c5aaf62d5fccd53180cc7edaa2e0382b229f514..e609ffecd61a8c59b51cc951423cb7521f9406aa 100644 (file)
@@ -42,7 +42,7 @@ const data = {
 // <block:config:0>
 const config = {
   type: 'line',
-  data,
+  data: data,
   options: {}
 };
 // </block:config>