djoshi
Posts: 61
Joined: Fri Mar 26, 2021 5:16 pm

Highcharts error #13

Hi

My Ionic 5 page, has multiple display options such as:

Code: Select all

  <div *ngIf="page_option==1">
    PAGE : 1
    <div id="MainGuageA" class="mainguage"> </div>
  </div>

  <div *ngIf="page_option==2">
    PAGE : 2
  </div>

  <div *ngIf="page_option==3">
    PAGE : 3
  </div>

  <div *ngIf="page_option==4">
    PAGE : 4
  </div>
I would like to display my chart only when Page_option = 1.

How can i set my chart to display only after page it correctly setup?
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Highcharts error #13

Hi,
Thank you for contacting us with your issue.

I thinking but didn't find a relation to your problem with highchart configuration.

Are you convert this from an Angular project?
Could you show a draft of the Angular project at the online code editor, before you change it to Ionic?

https://assets.highcharts.com/errors/13
This error means that your chart it's not rendering.

I'm waiting for news from you.
Best regards.
Sebastian Hajdus
Highcharts Developer
djoshi
Posts: 61
Joined: Fri Mar 26, 2021 5:16 pm

Re: Highcharts error #13

Hi Sebastian

I manged to solve this issue by using
<div [hidden]=page2_hidden>
instead of
<div *ngIf>
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Highcharts error #13

Hi,
That's great to hear!

In case of any further questions, feel free to contact us again.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Stock”