Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
plotly
/
plotly.js
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2k
Star
18.3k
Code
Issues
753
Pull requests
65
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Multiple legend positioning and sizing fixes
- #4160
#4160
Merged
etpinard
merged 20 commits into
master
plotly/plotly.js:master
from
legend-horizontal-computed-dims-fix
plotly/plotly.js:legend-horizontal-computed-dims-fix
Copy head branch name to clipboard
Sep 23, 2019
Conversation
Commits
20
(20)
Checks
Files changed
Merged
Multiple legend positioning and sizing fixes
#4160
etpinard
merged 20 commits into
master
plotly/plotly.js:master
from
legend-horizontal-computed-dims-fix
plotly/plotly.js:legend-horizontal-computed-dims-fix
Copy head branch name to clipboard
Commits
Commits on Aug 30, 2019
rm useless legend/anchor_utils.js file
Show description for 3ab7713
etpinard
committed
3ab7713
View commit details
Copy full SHA for 3ab7713
Browse repository at this point
improve legend x, y, xanchor, yanchor attr declarations
Show description for de369f3
etpinard
committed
de369f3
View commit details
Copy full SHA for de369f3
Browse repository at this point
drop firstRender logic in Legend.draw
etpinard
committed
1cf347a
View commit details
Copy full SHA for 1cf347a
Browse repository at this point
calc max name/label length in getLegendData
Show description for 82b9769
etpinard
committed
82b9769
View commit details
Copy full SHA for 82b9769
Browse repository at this point
add a few things to legend/constants.js
Show description for 0c497bb
etpinard
committed
0c497bb
View commit details
Copy full SHA for 0c497bb
Browse repository at this point
drop expandHorizontalMargin logic
Show description for f12c62c
etpinard
committed
f12c62c
View commit details
Copy full SHA for f12c62c
Browse repository at this point
some more linting
Show description for d770138
etpinard
committed
d770138
View commit details
Copy full SHA for d770138
Browse repository at this point
trim toggle-rect to more-precise width
Show description for 51df66d
etpinard
committed
51df66d
View commit details
Copy full SHA for 51df66d
Browse repository at this point
add more legend mocks (with 1.49.4 baselines)
Show description for bf586d4
etpinard
committed
bf586d4
View commit details
Copy full SHA for bf586d4
Browse repository at this point
fix many legend auto-margin push and positioning edge cases
Show description for 488cca1
etpinard
committed
488cca1
View commit details
Copy full SHA for 488cca1
Browse repository at this point
do not constrain legend (x,y) when `margin.autoexpand:false`
Show description for c33c92f
etpinard
committed
c33c92f
View commit details
Copy full SHA for c33c92f
Browse repository at this point
Lib.log when margin push are dropped
etpinard
committed
1e6862a
View commit details
Copy full SHA for 1e6862a
Browse repository at this point
add Lib.log when legend (x,y) are constrained into graph width/height
Show description for 1f00a40
etpinard
committed
1f00a40
View commit details
Copy full SHA for 1f00a40
Browse repository at this point
add mocks showing #4132 bug
etpinard
committed
2b2bd9b
View commit details
Copy full SHA for 2b2bd9b
Browse repository at this point
fix #4132 - fix horizontal legend dimension computations
Show description for 6b0befe
etpinard
committed
6b0befe
View commit details
Copy full SHA for 6b0befe
Browse repository at this point
Commits on Sep 9, 2019
Merge branch 'master' into legend-horizontal-computed-dims-fix
etpinard
committed
6b2b63b
View commit details
Copy full SHA for 6b2b63b
Browse repository at this point
Commits on Sep 10, 2019
cleanup legend relayout tests
etpinard
committed
e92ca98
View commit details
Copy full SHA for e92ca98
Browse repository at this point
fixup variable name in legend maxWidth logic block
etpinard
committed
35b0c92
View commit details
Copy full SHA for 35b0c92
Browse repository at this point
end Legend.draw early when margin-redraw in-progress
Show description for 42d5e4e
etpinard
committed
42d5e4e
View commit details
Copy full SHA for 42d5e4e
Browse repository at this point
Commits on Sep 23, 2019
add margin.autoexpand attr description
etpinard
committed
d043151
View commit details
Copy full SHA for d043151
Browse repository at this point
You can’t perform that action at this time.