# Resize Lens visualization in Canvas

**URL:** <https://discuss.elastic.co/t/resize-lens-visualization-in-canvas/276799>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [June 23, 2021, 1:45pm UTC](https://discuss.elastic.co/t/resize-lens-visualization-in-canvas/276799 "2021-06-23T13:45:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunsw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hunsw/32/93637_2.png) [@hunsw](https://discuss.elastic.co/u/hunsw)\
**Post date:** [June 23, 2021, 1:45pm UTC](https://discuss.elastic.co/t/resize-lens-visualization-in-canvas/276799/1 "2021-06-23T13:45:21Z")

</div>

Hi, I put a Lens Treemap on my Canvas and tried to resize it with the drag and drop controls, but I found that I couldn't stretch it beyond my screen size.

Also, this method is not too exact, is there a way to specify the width/height of my Lens container?

Another question about treemaps: can I set the size of the font? I prefer to see the title of the rectangles all the time, but they disappear if the rectangles are not large enough to host them with the default font size.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [June 23, 2021, 2:37pm UTC](https://discuss.elastic.co/t/resize-lens-visualization-in-canvas/276799/2 "2021-06-23T14:37:14Z")

</div>

I think your assumption is correct for all your questions: currently it is not possible to do any of these. The closest I can give you with Canvas is that you can actually increase the size of the elements more when not using fullscreen mode- they can be dragged outside the page frame. Another option with Canvas is to manually edit the Canvas saved object which contains position information.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 21, 2021, 2:38pm UTC](https://discuss.elastic.co/t/resize-lens-visualization-in-canvas/276799/3 "2021-07-21T14:38:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
