Getting width height function obtainable through render.
Added heatmap example.