(tooltip_interactions = false)
| 367 | } |
| 368 | |
| 369 | refresh_tooltip(tooltip_interactions = false) { |
| 370 | //the argument controls pointer interactions with the tooltip. a |
| 371 | //true value enables pointer interactions while a false value |
| 372 | //disables them |
| 373 | const el = d3.select(d3GetEvent().target); |
| 374 | if (this.is_hover_element(el)) { |
| 375 | const data: any = el.data()[0]; |
| 376 | const clicked_data = this.model.get_data_dict(data, data.index); |
| 377 | this.trigger('update_tooltip', clicked_data); |
| 378 | this.show_tooltip(tooltip_interactions); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | create_tooltip() { |
| 383 | //create tooltip widget. To be called after mark has been displayed |
nothing calls this directly
no test coverage detected
searching dependent graphs…