We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd9cee commit b9ea827Copy full SHA for b9ea827
src/traces/bar/plot.js
@@ -298,7 +298,7 @@ function appendBarText(gd, plotinfo, bar, cd, i, x0, x1, y0, y1, opts, makeOnCom
298
var isHorizontal = (trace.orientation === 'h');
299
300
var text = getText(fullLayout, cd, i, xa, ya);
301
- textPosition = getTextPosition(trace, i);
+ textPosition = getTextPosition(trace, i,fullLayout.displaytotal);
302
303
// compute text position
304
var inStackOrRelativeMode =
@@ -673,7 +673,8 @@ function getText(fullLayout, cd, index, xa, ya) {
673
return helpers.coerceString(attributeText, value);
674
}
675
676
-function getTextPosition(trace, index) {
+function getTextPosition(trace, index, forceInside) {
677
+ if(forceInside) return 'inside';
678
var value = helpers.getValue(trace.textposition, index);
679
return helpers.coerceEnumerated(attributeTextPosition, value);
680
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments