Ionic 2 how to hide show highchart div?

I want to hide show highchart depending on condition if I use *ngIf to heighchart container:

it gives error : ERROR Error: Highcharts error #13: www.highcharts.com/errors/13

Hello,
ngif is a structural directive.
if ngif is false then nothing, niente, nada, rien, nulla, nix, niets will inserted into the dom.

If you want hide use [hidden]=true or false on tag.

Best regards, anna-liebt

Thnx @anna_liebt
but, can we set this true or false dynamically ?

hello,
yes, in html

<div [hidden]=myvariable>

in ts

myvariable:boolean=true;

Best regards, anna-liebt