-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
7278 make triangle optional #7451
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
base: master
Are you sure you want to change the base?
Conversation
@emilykl |
@archmoj not quite ready for review but I'll merge |
1126715
to
63e44ab
Compare
'V' + pY(offsetY - HOVERARROWSIZE) + | ||
'Z')); | ||
pathStr = 'M0,0L' + pX(horzSign * HOVERARROWSIZE + offsetX) + ',' + pY(HOVERARROWSIZE + offsetY) + | ||
'v' + pY(d.by / 2 - HOVERARROWSIZE) + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG math
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gvwilson Coming up with the new SVG path string with no arrow was Claude Code's only helpful contribution to this PR (but it's a doozy, so, worth it)
@archmoj This is ready for review. A couple questions for you —
|
Closes #7278
Adds
trace.hoverlabel.showarrow
andlayout.hoverlabel.showarrow
attributes (default:true
) to enable hiding the triangular carat on the hover text box.Also adds a Jasmine test for the new attributes.
With

showarrow: true
(default; same as current behavior):With

showarrow: false
: