@@ -961,7 +961,7 @@ function createHoverText(hoverData, opts) {
961961 var fontWeight = opts . fontWeight || fullLayout . font . weight ;
962962 var fontStyle = opts . fontStyle || fullLayout . font . style ;
963963 var fontVariant = opts . fontVariant || fullLayout . font . variant ;
964- var fontCapitalize = opts . fontCapitalize || fullLayout . font . capitalize ;
964+ var fontTextcase = opts . fontTextcase || fullLayout . font . textcase ;
965965 var fontDecorline = opts . fontDecorline || fullLayout . font . decorline ;
966966 var fontShadow = opts . fontShadow || fullLayout . font . shadow ;
967967
@@ -1049,7 +1049,7 @@ function createHoverText(hoverData, opts) {
10491049 weight : commonLabelOptsFont . weight || fontWeight ,
10501050 style : commonLabelOptsFont . style || fontStyle ,
10511051 variant : commonLabelOptsFont . variant || fontVariant ,
1052- capitalize : commonLabelOptsFont . capitalize || fontCapitalize ,
1052+ textcase : commonLabelOptsFont . textcase || fontTextcase ,
10531053 decorline : commonLabelOptsFont . decorline || fontDecorline ,
10541054 shadow : commonLabelOptsFont . shadow || fontShadow ,
10551055 family : commonLabelOptsFont . family || fontFamily ,
@@ -1377,7 +1377,7 @@ function createHoverText(hoverData, opts) {
13771377 weight : fontWeight ,
13781378 style : fontStyle ,
13791379 variant : fontVariant ,
1380- capitalize : fontCapitalize ,
1380+ textcase : fontTextcase ,
13811381 decorline : fontDecorline ,
13821382 shadow : fontShadow ,
13831383 family : fontFamily ,
@@ -1424,7 +1424,7 @@ function createHoverText(hoverData, opts) {
14241424 weight : d . fontWeight || fontWeight ,
14251425 style : d . fontStyle || fontStyle ,
14261426 variant : d . fontVariant || fontVariant ,
1427- capitalize : d . fontCapitalize || fontCapitalize ,
1427+ textcase : d . fontTextcase || fontTextcase ,
14281428 decorline : d . fontDecorline || fontDecorline ,
14291429 shadow : d . fontShadow || fontShadow ,
14301430 } )
@@ -1446,7 +1446,7 @@ function createHoverText(hoverData, opts) {
14461446 weight : d . fontWeight || fontWeight ,
14471447 style : d . fontStyle || fontStyle ,
14481448 variant : d . fontVariant || fontVariant ,
1449- capitalize : d . fontCapitalize || fontCapitalize ,
1449+ textcase : d . fontTextcase || fontTextcase ,
14501450 decorline : d . fontDecorline || fontDecorline ,
14511451 shadow : d . fontShadow || fontShadow ,
14521452 } ) . text ( name )
0 commit comments