Skip to content

Commit e507ab7

Browse files
author
Joseph Damiba
committed
updating insidetextorientation copy
1 parent 8122c21 commit e507ab7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/traces/pie/attributes.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,16 @@ module.exports = {
187187
values: ['horizontal', 'radial', 'tangential', 'auto'],
188188
dflt: 'auto',
189189
editType: 'plot',
190+
190191
description: [
191-
'Determines the orientation of text inside slices.',
192-
'With *auto* the texts may automatically be',
193-
'rotated to fit with the maximum size inside the slice.',
194-
'Using *horizontal* option forces text to be horizontal.',
195-
'Using *radial* option forces text to be radial.',
196-
'Using *tangential* option forces text to be tangential.'
192+
'The `insidetextorientation` attribute controls the',
193+
'orientation of the text inside chart sectors.',
194+
'When set to *auto*, text may be oriented in any direction in order',
195+
'to be as big as possible in the middle of a sector.',
196+
'The *horizontal* option orients text to be parallel with the bottom',
197+
'of the chart, and may make text smaller in order to achieve that goal.',
198+
'The *radial* option orients text along the radius of the sector.',
199+
'The *tangential* option orients text perpendicular to the radius of the sector.'
197200
].join(' ')
198201
},
199202
insidetextfont: extendFlat({}, textFontAttrs, {

0 commit comments

Comments
 (0)