Using switch component to hide table

I saw in the documentation (Switch | Retool Component Library) that there's an option to use hide method (setHidden) with the Switch component,
When I tried to hide a chart:

It seems that for charts there's only one Method.
Is it possible somehow to add setHidden method?
Thank you.

I would do the opposite. In the chart component, in the Hidden field of that component set to true if switch value equals true or false...depends on what you're trying to do.

1 Like