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

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(' ')
},

@etpinard etpinard added bug something broken status: reviewable labels Jun 21, 2019
@archmoj
Copy link
Contributor

archmoj commented Jun 25, 2019

Nicely done.
💃

@etpinard etpinard merged commit 411f61e into master Jun 25, 2019
@etpinard etpinard deleted the clickannotation-evt-editable branch June 25, 2019 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plotly_clickannotation event not firing on editable: true
2 participants