]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Move border opts to correct location for samples (#10884)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Thu, 17 Nov 2022 21:51:12 +0000 (22:51 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 21:51:12 +0000 (22:51 +0100)
docs/axes/cartesian/index.md
docs/samples/scales/stacked.md

index a815e322265711239eb24052e0e06f502f6935b5..6a4d84f2f840ccb3a2adb6fd1065ecdc325d85bd 100644 (file)
@@ -44,8 +44,8 @@ const config = {
   options: {
     scales: {
       x: {
-        grid: {
-          borderColor: 'red'
+        border: {
+          color: 'red'
         }
       }
     }
index 7ed3116a7ff69ee89c9840efb8e753ece982e6e0..89651bfa6007602a6865d107cdf46caab1f4839e 100644 (file)
@@ -45,8 +45,8 @@ const config = {
         position: 'left',
         stack: 'demo',
         stackWeight: 2,
-        grid: {
-          borderColor: Utils.CHART_COLORS.red
+        border: {
+          color: Utils.CHART_COLORS.red
         }
       },
       y2: {
@@ -56,8 +56,8 @@ const config = {
         position: 'left',
         stack: 'demo',
         stackWeight: 1,
-        grid: {
-          borderColor: Utils.CHART_COLORS.blue
+        border: {
+          color: Utils.CHART_COLORS.blue
         }
       }
     }