()
| 492 | } |
| 493 | |
| 494 | process_interactions() { |
| 495 | //configure default interactions |
| 496 | const interactions = this.model.get('interactions'); |
| 497 | |
| 498 | if (is_defined(interactions.click)) { |
| 499 | this.process_click(interactions.click); |
| 500 | } else { |
| 501 | this.reset_click(); |
| 502 | } |
| 503 | |
| 504 | if (is_defined(interactions.hover)) { |
| 505 | this.process_hover(interactions.hover); |
| 506 | } else { |
| 507 | this.reset_hover(); |
| 508 | } |
| 509 | |
| 510 | if (is_defined(interactions.legend_click)) { |
| 511 | this.process_legend_click(interactions.legend_click); |
| 512 | } else { |
| 513 | this.reset_legend_click(); |
| 514 | } |
| 515 | if (is_defined(interactions.legend_hover)) { |
| 516 | this.process_legend_hover(interactions.legend_hover); |
| 517 | } else { |
| 518 | this.reset_legend_hover(); |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | mouse_over() { |
| 523 | if (this.model.get('enable_hover')) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…