Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not rendering on Angular Material Tabs #99

Open
aravind-ui opened this issue Apr 1, 2019 · 4 comments
Open

Not rendering on Angular Material Tabs #99

aravind-ui opened this issue Apr 1, 2019 · 4 comments

Comments

@aravind-ui
Copy link

Hi, I used amcharts in my angular project and also used the angular material design. When I tried to add the amcharts in the material tab, the chart is not rendering.

@kkseven07
Copy link

kkseven07 commented Oct 17, 2019

Have you wrapped the chart component into <ng-template matTabContent></ng-template> according to material ui documentation?

@dasariramacharan
Copy link

dasariramacharan commented Dec 5, 2019

For Amcharts 4

Instead of having the amcharts inside the ng-template, I have placed them directly inside mat tab area and it worked for me.

am-charts rendering seems to be having issues when rendering inside elements which are not visible like inside non active ng-template/ *ngif , etc

@vishal-shetty
Copy link

vishal-shetty commented May 28, 2020

Have you wrapped the chart component into <ng-template matTabContent></ng-template> according to material ui documentation?

This solution worked for ng-gantt ( which is a wrapper for jsgantt-improved). I was facing the issue to render it inside mat-tab, 2nd tab in fact. Thanks a lot.

@NicoHambauer
Copy link

NicoHambauer commented Dec 21, 2020

Tanks this also worked for me! See https://github.com/NicoHambauer/mps-angular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants