Skip to content

Commit 909c719

Browse files
authored
Move border opts to correct location for samples (#10884)
1 parent 5144127 commit 909c719

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/axes/cartesian/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const config = {
4444
options: {
4545
scales: {
4646
x: {
47-
grid: {
48-
borderColor: 'red'
47+
border: {
48+
color: 'red'
4949
}
5050
}
5151
}

docs/samples/scales/stacked.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const config = {
4545
position: 'left',
4646
stack: 'demo',
4747
stackWeight: 2,
48-
grid: {
49-
borderColor: Utils.CHART_COLORS.red
48+
border: {
49+
color: Utils.CHART_COLORS.red
5050
}
5151
},
5252
y2: {
@@ -56,8 +56,8 @@ const config = {
5656
position: 'left',
5757
stack: 'demo',
5858
stackWeight: 1,
59-
grid: {
60-
borderColor: Utils.CHART_COLORS.blue
59+
border: {
60+
color: Utils.CHART_COLORS.blue
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)