You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
#Frequently Asked Questions
2
2
3
3
4
-
##How to disable plotly events?
4
+
##How to disable plotly events?
5
5
6
6
It's possible disable some plotly events returning`false` in its event. Please see issue:https://github.com/plotly/angular-plotly.js/issues/52#issuecomment-476018478
7
7
8
8
9
9
10
-
##Why using`(plotly_click)` instead of`(click)`?
10
+
##Why using`(plotly_click)` instead of`(click)`?
11
11
12
12
Angular uses the`(click)` directive to itself. If we use the`click` name as event alias to`plotly_click` we might get unexpected behaviour from both angular and plotly.js. We believe it is simpler to just avoid using the same name is better.
13
13
Please see issue:https://github.com/plotly/angular-plotly.js/issues/63
@@ -32,11 +32,11 @@ export class AppPlotlyComponent {
32
32
```
33
33
34
34
35
-
##The graph is too slow when interacting, what could I do?
35
+
##The graph is too slow when interacting, what could I do?
36
36
37
37
Angular checks all the data everytime to see if there is a change to be applied, sometimes this brings unexpected slowness when treating a large data to be displayed. To avoid this check, set the property`updateOnlyWithRevision` to`true`. When you need the component to update, you can use the`revision` property (a number) to force it to update. Simply incrementing it (e.g.:`this.revision += 1`) will force the component to be updated.
38
38
39
39
40
-
##How to support Angular 7.x?
40
+
##How to support Angular 7.x?
41
41
42
42
There was a breaking change from`Angular 7.x` to`8.x`. Please see this thread:https://github.com/plotly/angular-plotly.js/issues/79