Currently, I am using Angular-15 and Bootstrap-5 application for the Apexchart
The issue arises when trying to open the Model and the chart does not show up. If I refresh the page and zoom out to 90% or zoom in to 100%, the chart appears. However, upon refreshing, the chart disappears again. Any suggestions on how to solve this problem?
When the model is outside, all charts work and display correctly.
Thank you
Here is the code:
.html
<div #croSellWiseModal="bs-modal" aria-hidden="true" bsModal class="modal fade" id="croSellWiseModal" tabindex="-1">
<div class="modal-dialog modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content border-0 p-0">
<div class="modal-body p-0">
<div class="" style="height: auto;">
// Code continues...
</div>
</div>
</div>
</div>
</div>
.ts
@ViewChild('chartSell') chartSell!: ChartComponent;
public chartOptionsSell: ChartOptions;
public chartDataLoaded: boolean = false;
// More code here...