From e507ab765eae87807312fe2c7ccf388054e50e87 Mon Sep 17 00:00:00 2001 From: Joseph Damiba <joseph.damiba@plot.ly> Date: Tue, 28 Jan 2020 13:33:48 -0500 Subject: [PATCH 1/3] updating insidetextorientation copy --- src/traces/pie/attributes.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js index ac2cb711006..3447afa549c 100644 --- a/src/traces/pie/attributes.js +++ b/src/traces/pie/attributes.js @@ -187,13 +187,16 @@ module.exports = { values: ['horizontal', 'radial', 'tangential', 'auto'], dflt: 'auto', editType: 'plot', + description: [ - 'Determines the orientation of text inside slices.', - 'With *auto* the texts may automatically be', - 'rotated to fit with the maximum size inside the slice.', - 'Using *horizontal* option forces text to be horizontal.', - 'Using *radial* option forces text to be radial.', - 'Using *tangential* option forces text to be tangential.' + 'The `insidetextorientation` attribute controls the', + 'orientation of the text inside chart sectors.', + 'When set to *auto*, text may be oriented in any direction in order', + 'to be as big as possible in the middle of a sector.', + 'The *horizontal* option orients text to be parallel with the bottom', + 'of the chart, and may make text smaller in order to achieve that goal.', + 'The *radial* option orients text along the radius of the sector.', + 'The *tangential* option orients text perpendicular to the radius of the sector.' ].join(' ') }, insidetextfont: extendFlat({}, textFontAttrs, { From 825e416d77a48ff93299474382e2a609dae8fd77 Mon Sep 17 00:00:00 2001 From: Joseph Damiba <joseph.damiba@plot.ly> Date: Tue, 28 Jan 2020 13:46:04 -0500 Subject: [PATCH 2/3] removing extraneous newline --- src/traces/pie/attributes.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js index 3447afa549c..bf58f56c62d 100644 --- a/src/traces/pie/attributes.js +++ b/src/traces/pie/attributes.js @@ -187,7 +187,6 @@ module.exports = { values: ['horizontal', 'radial', 'tangential', 'auto'], dflt: 'auto', editType: 'plot', - description: [ 'The `insidetextorientation` attribute controls the', 'orientation of the text inside chart sectors.', From f72b1af53ccefc40e46ed4f4827b3330fd2d506e Mon Sep 17 00:00:00 2001 From: Joseph Damiba <joseph.damiba@plot.ly> Date: Wed, 29 Jan 2020 16:16:49 -0500 Subject: [PATCH 3/3] use verb at beginning of sentence --- src/traces/pie/attributes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/traces/pie/attributes.js b/src/traces/pie/attributes.js index bf58f56c62d..9d0fafdfec9 100644 --- a/src/traces/pie/attributes.js +++ b/src/traces/pie/attributes.js @@ -188,8 +188,7 @@ module.exports = { dflt: 'auto', editType: 'plot', description: [ - 'The `insidetextorientation` attribute controls the', - 'orientation of the text inside chart sectors.', + 'Controls the orientation of the text inside chart sectors.', 'When set to *auto*, text may be oriented in any direction in order', 'to be as big as possible in the middle of a sector.', 'The *horizontal* option orients text to be parallel with the bottom',