()
| 421 | } |
| 422 | |
| 423 | get_color_bar_width() { |
| 424 | const width = this.vertical |
| 425 | ? this.height - 2 * this.x_offset |
| 426 | : this.width - 2 * this.x_offset; |
| 427 | |
| 428 | return width >= 0 ? width : 0; |
| 429 | } |
| 430 | |
| 431 | update_label() { |
| 432 | this.d3el.select('#text_elem').text(this.model.get('label')); |
no outgoing calls
no test coverage detected