Skip to content

Commit 6d4cd86

Browse files
authored
Merge pull request #6607 from plotly/bar-orientation-description
fix bar and waterfall orientation descriptions
2 parents 080fb74 + 39d37c6 commit 6d4cd86

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/traces/bar/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
meta: {
2626
description: [
2727
'The data visualized by the span of the bars is set in `y`',
28-
'if `orientation` is set th *v* (the default)',
28+
'if `orientation` is set to *v* (the default)',
2929
'and the labels are set in `x`.',
3030
'By setting `orientation` to *h*, the roles are interchanged.'
3131
].join(' ')

src/traces/barpolar/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828
hrName: 'bar_polar',
2929
description: [
3030
'The data visualized by the radial span of the bars is set in `r`'
31-
// 'if `orientation` is set th *radial* (the default)',
31+
// 'if `orientation` is set to *radial* (the default)',
3232
// 'and the labels are set in `theta`.',
3333
// 'By setting `orientation` to *angular*, the roles are interchanged.'
3434
].join(' ')

src/traces/waterfall/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
'Draws waterfall trace which is useful graph to displays the',
2525
'contribution of various elements (either positive or negative)',
2626
'in a bar chart. The data visualized by the span of the bars is',
27-
'set in `y` if `orientation` is set th *v* (the default) and the',
27+
'set in `y` if `orientation` is set to *v* (the default) and the',
2828
'labels are set in `x`.',
2929
'By setting `orientation` to *h*, the roles are interchanged.'
3030
].join(' ')

test/plot-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14302,7 +14302,7 @@
1430214302
}
1430314303
},
1430414304
"meta": {
14305-
"description": "The data visualized by the span of the bars is set in `y` if `orientation` is set th *v* (the default) and the labels are set in `x`. By setting `orientation` to *h*, the roles are interchanged."
14305+
"description": "The data visualized by the span of the bars is set in `y` if `orientation` is set to *v* (the default) and the labels are set in `x`. By setting `orientation` to *h*, the roles are interchanged."
1430614306
},
1430714307
"type": "bar"
1430814308
},
@@ -74486,7 +74486,7 @@
7448674486
}
7448774487
},
7448874488
"meta": {
74489-
"description": "Draws waterfall trace which is useful graph to displays the contribution of various elements (either positive or negative) in a bar chart. The data visualized by the span of the bars is set in `y` if `orientation` is set th *v* (the default) and the labels are set in `x`. By setting `orientation` to *h*, the roles are interchanged."
74489+
"description": "Draws waterfall trace which is useful graph to displays the contribution of various elements (either positive or negative) in a bar chart. The data visualized by the span of the bars is set in `y` if `orientation` is set to *v* (the default) and the labels are set in `x`. By setting `orientation` to *h*, the roles are interchanged."
7449074490
},
7449174491
"type": "waterfall"
7449274492
}

0 commit comments

Comments
 (0)