# Is there a way to make it unable to expand the donut chart in webviewer? Post it here

**URL:** <https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700>\
**Category:** Questions about Thunkable X\
**Created:** [July 4, 2021, 5:40am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700 "2021-07-04T05:40:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ploting](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Ploting](https://community.thunkable.com/u/Ploting)\
**Post date:** [July 4, 2021, 5:40am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/1 "2021-07-04T05:40:53Z")

</div>

I want to make it unable to expand the chart because I want to put some text into the center of the donut chart like this :

 ![3810](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/b/1b32ca37f5eceee2d95bc048b23f564dad1c24d5.jpeg)

But it can expand the webviewer like this :

 ![3809](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/b/dbed9e2d35e907f9088b545910c762a0857e6e43.jpeg)

I want to know how to make it unable to expand. If you make it please post it in here.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [July 4, 2021, 5:50am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/2 "2021-07-04T05:50:03Z")

</div>

How are you creating the donut chart?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [July 4, 2021, 6:12am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/3 "2021-07-04T06:12:48Z")

</div>

I’m not sure what you mean but if you want to stop the user from zooming the page displayed in the `web viewer` add `user-scalable` in the `meta tag` in the .html header

\< meta name = “viewport” content = “width=device-width, initial-scale=1, user-scalable=no” /\>

---

<div class="post-metadata">

**Author:** ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)\
**Post date:** [July 4, 2021, 7:29am UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/4 "2021-07-04T07:29:21Z")

</div>

This is an example with html code. in photo I mark how to set a specific size value. The background can also be changed.

 .c3 svg {height:350px;} body {background-color: #69BD43;} 

![height](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/4/a4c008ded1399f51963618f6ee64817b8a34f726.png)  
[donut.zip](https://community.thunkable.com/uploads/short-url/95bTtK6mRIwBbsTQjclg2W5uTYK.zip) (541 Bytes)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [July 4, 2021, 3:05pm UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/5 "2021-07-04T15:05:52Z")

</div>

Are you using c3 or chartJS?

You can write your text on the canvas directly, and that may be a better long term solution more scalable across devices.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:19pm UTC](https://community.thunkable.com/t/is-there-a-way-to-make-it-unable-to-expand-the-donut-chart-in-webviewer-post-it-here/1377700/6 "2024-11-08T13:19:55Z")

</div>


