-1

show timeline issue when load the ngx charts using dynamically load component using ComponentPortal in angular 8 version. Please provide the solutions.

Rendring component using in loop Like :

<ng-template class="custom-area margin-10" [cdkPortalOutlet]="dynamicComponentList[element.id]"></ng-template>
Hal
  • 1,229
  • 11
  • 26
  • 2
    I don't think there is enough context in this post to understand what you are trying to accomplish. Would you be able to provide some sample code that show's what you've attempted? Not just the ng-template from within your loop. – Hal May 06 '20 at 18:55

1 Answers1

0

Install the ndc-dynamic package and Use ndc-dynamic for render dynamic component. You can also send the Input or Output decorator. It's working fine for me.