()
| 123 | } |
| 124 | |
| 125 | update_style() { |
| 126 | const that = this; |
| 127 | this.d3el |
| 128 | .selectAll('.object_grp') |
| 129 | .select('text') |
| 130 | .attr('dominant-baseline', 'central') |
| 131 | .style('font-size', (d, i) => { |
| 132 | return that.get_element_size(d); |
| 133 | }) |
| 134 | .style('font-weight', this.model.get('font_weight')) |
| 135 | .style('text-anchor', this.model.get('align')); |
| 136 | |
| 137 | this.d3el.selectAll('.label').style('fill', this.get_mark_color.bind(this)); |
| 138 | } |
| 139 | |
| 140 | color_scale_updated(animate) { |
| 141 | const animation_duration = |
no test coverage detected