# Clarification needed about auto-sizing

**URL:** https://meta.discourse.org/t/clarification-needed-about-auto-sizing/282349
**Category:** Support
**Tags:** mermaid
**Created:** [September 4, 2023, 1:59pm UTC](https://meta.discourse.org/t/clarification-needed-about-auto-sizing/282349 "2023-09-04T13:59:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![packman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/packman/32/289322_2.png) [@packman](https://meta.discourse.org/u/packman)
#### Post date: [September 4, 2023, 1:59pm UTC](https://meta.discourse.org/t/clarification-needed-about-auto-sizing/282349/1 "2023-09-04T13:59:34Z")

</div>

Please can the auto sizing option be clarified. From GitHub it appears that adding ‘,auto’ onto the height command activates this. The example given uses:

height=200,auto

What is the purpose of the 200 if the chart is being auto sized?

I tried using the option on some charts on my forum. In one case

height=600,auto

was changed to

height=571,auto

In all the other charts I tried it on the original (guessed) height value that I’d used wasn’t changed.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 16, 2023, 9:40am UTC](https://meta.discourse.org/t/clarification-needed-about-auto-sizing/282349/2 "2023-10-16T09:40:23Z")

</div>

auto is there by default, it means we guess the height and update it.

If we happen to measure wrong you can remove the auto part and just hardcode a more correct height.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 15, 2023, 9:41am UTC](https://meta.discourse.org/t/clarification-needed-about-auto-sizing/282349/3 "2023-11-15T09:41:14Z")

</div>

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