We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have followed the FAQ on how to disable events but I got the error of
ERROR TypeError: Cannot read property 'on' of undefined
@andrefarzat Would you please suggest to me what to do?
here is my code: component.ts
const chart = this.plotlyService.getInstanceByDivId(divId); chart.on('plotly_relayout', () => false);
component.html
<plotly-plot [divId]="'c1'" [data]="data" [layout]="layout" (relayout)="onRelayout($event)" (doubleClick)="onRelayout($event)"></plotly-plot>
I'm using
Thank you
The text was updated successfully, but these errors were encountered:
I found the mistake. the "divId" which generated by another function is not correct.
Sorry, something went wrong.
No branches or pull requests
I have followed the FAQ on how to disable events but I got the error of
@andrefarzat Would you please suggest to me what to do?
here is my code:
component.ts
component.html
I'm using
Thank you
The text was updated successfully, but these errors were encountered: