We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be681f9 commit 7be9237Copy full SHA for 7be9237
InterSpec_resources/D3TimeChart.js
@@ -509,6 +509,11 @@ D3TimeChart.prototype.handleResize = function () {
509
this.state.height = this.chart.clientHeight;
510
this.state.width = this.chart.clientWidth;
511
512
+ // TODO: switch to getting dimensions via the following; seems to work better
513
+ //const parentRect = this.chart.getBoundingClientRect();
514
+ //this.state.height = parentRect.width;
515
+ //this.state.width = parentRect.height;
516
+
517
this.reinitializeChart();
518
} catch (err) {
519
if (err instanceof ValidationError) {
0 commit comments