Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
Enable text for scattergl trace#2737
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
8ec98b9862905cd1a06c0cbc7f3fcc2cca1e5a771c349b55171c1acb4fe4e3aff1d4fc95a3d1aed7e0a0fa96cc79653fcf17c1b0b0154571c47d25879eae53bd4491c741bfb14d67fa490479a76def5e447cf7e2a53baf6b3fb445e09a4e1668d7eea41ea351702b3062bf26365f97f355906cc46bc6237d751691a64005bdc8f4a959a555431c5649f3827c3af4d2fa83077b29fa2efe462eda52614d1143a61efb08f55a5637dd6aedaa6235f1acFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -37,9 +37,14 @@ var attrs = module.exports = overrideAll({ | ||
| 'this trace\'s (x,y) coordinates.' | ||
| ].join(' ') | ||
| }), | ||
| hovertext: scatterAttrs.hovertext, | ||
| textposition: scatterAttrs.textposition, | ||
| textfont: scatterAttrs.textfont, | ||
| mode: { | ||
| valType: 'flaglist', | ||
| flags: ['lines', 'markers'], | ||
| flags: ['lines', 'markers', 'text'], | ||
| extras: ['none'], | ||
| role: 'info', | ||
| description: [ | ||
| @@ -77,10 +82,12 @@ var attrs = module.exports = overrideAll({ | ||
| hoveron: scatterAttrs.hoveron, | ||
| selected: { | ||
| marker: scatterAttrs.selected.marker | ||
| marker: scatterAttrs.selected.marker, | ||
| textfont: scatterAttrs.selected.textfont | ||
| }, | ||
| unselected: { | ||
| marker: scatterAttrs.unselected.marker | ||
| marker: scatterAttrs.unselected.marker, | ||
| textfont: scatterAttrs.unselected.textfont | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this work? And what about Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Confirmed. Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. mostly done in 1a64005 | ||
| }, | ||
| opacity: plotAttrs.opacity | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
Now that scattergl supports on-graph, we can add
hovertextlike in svg scatter traces:plotly.js/src/traces/scatter/attributes.js
Lines 91 to 104 in 6ac47ec
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.
done in 959a555