8000 Multiple legend positioning and sizing fixes by etpinard · Pull Request #4160 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Multiple legend positioning and sizing fixes #4160

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Sep 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
add margin.autoexpand attr description
  • Loading branch information
etpinard committed Sep 23, 2019
commit d0431514fbc55e56a35417f65fbbd01ca2055fab
9 changes: 7 additions & 2 deletions src/plots/layout_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,12 @@ module.exports = {
valType: 'boolean',
role: 'info',
dflt: true,
editType: 'plot'
editType: 'plot',
description: [
'Turns on/off margin expansion computations.',
'Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider',
'are allowed to push the margins by defaults.'
].join(' ')
},
editType: 'plot'
},
Expand Down Expand Up @@ -417,7 +422,7 @@ module.exports = {
description: [
'Assigns extra meta information that can be used in various `text` attributes.',
'Attributes such as the graph, axis and colorbar `title.text`, annotation `text`',
'`trace.name` in legend items, `rangeselector`, `updatemenues` and `sliders` `label` text',
'`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text',
'all support `meta`. One can access `meta` fields using template strings:',
'`%{meta[i]}` where `i` is the index of the `meta`',
'item in question.',
Expand Down
0