()
| 278 | } |
| 279 | |
| 280 | update_path_style(): void { |
| 281 | const interpolation = this.get_interpolation(); |
| 282 | this.line.curve(interpolation); |
| 283 | this.area.curve(interpolation); |
| 284 | this.d3el |
| 285 | .selectAll('.curve') |
| 286 | .select('.line') |
| 287 | .attr('d', (d: any) => { |
| 288 | return this.line(d.values) + this.path_closure(); |
| 289 | }); |
| 290 | this.d3el |
| 291 | .selectAll('.curve') |
| 292 | .select('.area') |
| 293 | .transition('update_path_style') |
| 294 | .duration(0) //FIXME |
| 295 | .attr('d', (d: any) => { |
| 296 | return this.area(d.values); |
| 297 | }); |
| 298 | if (this.legendEl) { |
| 299 | this.legendLine.curve(interpolation); |
| 300 | this.legendEl |
| 301 | .selectAll('path') |
| 302 | .attr('d', this.legendLine(this.legendPathData) + this.path_closure()); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | relayout(): void { |
| 307 | this.set_ranges(); |
nothing calls this directly
no test coverage detected