Skip to content

Commit 706465b

Browse files
committed
New description for bar textposition
1 parent a15e478 commit 706465b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/traces/bar/attributes.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ module.exports = {
7272
'*inside* positions `text` inside, next to the bar end',
7373
'(rotated and scaled if needed).',
7474
'*outside* positions `text` outside, next to the bar end',
75-
'(scaled if needed). For stacked and relative bars,',
76-
'where *base* is given the default value,',
77-
'only outmost bars are given the *outside* position.',
78-
'*auto* positions `text` inside or outside',
79-
'so that `text` size is maximized.'
75+
'(scaled if needed), unless there is another bar stacked on',
76+
'this one, then the text gets pushed inside.',
77+
'*auto* tries to position `text` inside the bar, but if',
78+
'the bar is too small and no bar is stacked on this one',
79+
'the text is moved outside.'
8080
].join(' ')
8181
},
8282

0 commit comments

Comments
 (0)