Skip to content
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

Trigger plotly_clickannotation when editable:true #3979

Merged
merged 1 commit into from Jun 25, 2019

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Jun 21, 2019

fixes #1750

before: https://codepen.io/etpinard/pen/JQWpZB?editors=1010
after: https://codepen.io/etpinard/pen/dBvdKw?editors=1010

cc @plotly/plotly_js and note that:

captureevents: {
valType: 'boolean',
role: 'info',
editType: 'arraydraw',
description: [
'Determines whether the annotation text box captures mouse move',
'and click events, or allows those events to pass through to data',
'points in the plot that may be behind the annotation. By default',
'`captureevents` is *false* unless `hovertext` is provided.',
'If you use the event `plotly_clickannotation` without `hovertext`',
'you must explicitly enable `captureevents`.'
].join(' ')
},

@archmoj
Copy link
Contributor

@archmoj archmoj commented Jun 25, 2019

Nicely done.
💃

@etpinard etpinard merged commit 411f61e into master Jun 25, 2019
10 checks passed
@etpinard etpinard deleted the clickannotation-evt-editable branch Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants