Setting height of the Look to fit contents in Custom Visualization

I created a Custom Visualization within a Look.
I am not able to set the height of the Look so that entire contents of my Custom Visualization are showed within the Look.

I saw following article about being able to do it on Table Visualization, but no such option is available for my Custom Visualization:

https://community.looker.com/dashboards-looks-7/how-to-set-looks-height-to-fit-to-content-in-dashbaord-5305

Can someone shed some light if I can achieve this and how?

I believe the above highlighted parent div is blocking my parent-div from expanding, and I was wondering if this can be changed somehow?

Here is my Custom Visualization js file. I tried applying css on parent div of Custom Visualization but no luch.

1 Like