Skip to content

Commit a6e8f5b

Browse files
committed
Optimized PDF Report Generation
1 parent 7a08dbe commit a6e8f5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/app/graphic-builder/shared/components/viewer/chart-view/chart-view.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,12 @@ export class ChartViewComponent implements OnInit {
6666
});
6767
}
6868
});
69-
this.runVisualization();
7069
this.defaultTime = resolveDefaultVisualizationTime(this.visualization);
7170

71+
if (!this.defaultTime) {
72+
this.runVisualization();
73+
}
74+
7275
window.addEventListener('resize', (event) => {
7376
this.resizeChart();
7477
});

0 commit comments

Comments
 (0)