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:

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 ?

yes, in html

<div [hidden]=myvariable>

in ts


Best regards, anna-liebt