Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update insidetextorientation description for pie and sunburst traces #4523

Merged
merged 3 commits into from
Jan 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/traces/pie/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,13 @@ module.exports = {
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.'
'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, {
Expand Down