()
| 105 | } |
| 106 | |
| 107 | update_display() { |
| 108 | this.g_axisline.remove(); |
| 109 | this.create_axis(); |
| 110 | this.g_axisline = this.d3el |
| 111 | .select('#colorBarG' + this.cid) |
| 112 | .append('g') |
| 113 | .attr('class', 'axis'); |
| 114 | this.rescale_axis(); |
| 115 | this.d3el |
| 116 | .select('#colorBarG' + this.cid) |
| 117 | .attr('transform', this.get_colorbar_transform()); |
| 118 | this.d3el |
| 119 | .select('#colorBarG' + this.cid) |
| 120 | .select('.g-rect') |
| 121 | .attr('transform', this.vertical ? 'rotate(-90)' : ''); |
| 122 | this.redraw_axisline(); |
| 123 | } |
| 124 | |
| 125 | set_scale(model: ColorScaleModel) { |
| 126 | // Sets the child scale |
nothing calls this directly
no test coverage detected