n8dogg2432
Posts: 11
Joined: Tue Jun 22, 2021 1:39 pm

Angular/Highcharts - Making highcharts wait on data to render

I'll preface this with I'm new to both Angular and Highcharts so feel free laugh at any question. I have a small Angular web app built that gets data from an api and I have the data ready to be inserted into a highchart bar graph. I have the highchart graph working with dummy data. What I would like to do is make the graph wait to render until I insert the data into the chart options. Anyone know how to get this accomplished? I'm not sure if I should do this on the typescript side or if there is a way to get the highchart to wait with an option. I'm about 6 hours in to trying to get this accomplished an would appreciate any help at all.
n8dogg2432
Posts: 11
Joined: Tue Jun 22, 2021 1:39 pm

Re: Angular/Highcharts - Making highcharts wait on data to render

Disregard this. All I had to do was capitalize the I in my ngIf to get the chart to wait to render. Carry on
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Angular/Highcharts - Making highcharts wait on data to render

Hi,
Welcome to our forum and thanks for contacting us with your question!

​If you have further inquiries, you may reach out to me at any time.

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Usage”