(model, strokeWidth)
| 203 | } |
| 204 | |
| 205 | update_stroke_width(model, strokeWidth): void { |
| 206 | this.compute_view_padding(); |
| 207 | this.d3el |
| 208 | .selectAll('.curve') |
| 209 | .select('.line') |
| 210 | .style('stroke-width', strokeWidth); |
| 211 | if (this.legendEl) { |
| 212 | this.legendEl.select('path').style('stroke-width', strokeWidth); |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | update_style(): void { |
| 217 | const fill = this.model.get('fill'), |
no test coverage detected