# Time use in chart data

**URL:** <https://community.glideapps.com/t/time-use-in-chart-data/71842>\
**Category:** Ask for Help\
**Created:** [March 20, 2024, 10:50am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842 "2024-03-20T10:50:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingzy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kingzy/32/15690_2.png) [@kingzy](https://community.glideapps.com/u/kingzy)\
**Post date:** [March 20, 2024, 10:50am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/1 "2024-03-20T10:50:28Z")

</div>

So, I created a simple app to record my workouts where I stand on either foot.

When i combine the time together or separately, the Y Axis shows 5.  
 ![Screenshot 2024-03-20 at 18-47-30 Heart Up · Glide](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/7/175ba933be5680da4525e5f6abee93b67ae2e2d3.png)

![Screenshot 2024-03-20 at 6.53.22 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/2/a278aeb36b56e530fa76df4a50b819d6bb4f0ab5.png)

What can I do to reduce the white space between the Y Axis?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 20, 2024, 11:59am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/2 "2024-03-20T11:59:15Z")

</div>

You would need to use a bit of CSS as Glide doesn’t have a way to control chart styling natively.

---

<div class="post-metadata">

**Author:** ![kingzy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kingzy/32/15690_2.png) [@kingzy](https://community.glideapps.com/u/kingzy)\
**Post date:** [March 20, 2024, 12:34pm UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/3 "2024-03-20T12:34:46Z")

</div>

Ok, I guess I’ll have to… wait a bit then. 😉

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 21, 2024, 3:00am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/4 "2024-03-21T03:00:21Z")

</div>

> [@kingzy](#):
>
> What can I do to reduce the white space between the Y Axis?

Do you mean reducing the scale of the Y axis?

---

<div class="post-metadata">

**Author:** ![kingzy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kingzy/32/15690_2.png) [@kingzy](https://community.glideapps.com/u/kingzy)\
**Post date:** [March 21, 2024, 3:13am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/5 "2024-03-21T03:13:36Z")

</div>

That can work too. Any idea?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 21, 2024, 3:14am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/6 "2024-03-21T03:14:51Z")

</div>

If you don’t have a high range of data, I don’t know why the scale doesn’t reduce. I would resort to Quickcharts or Chart.js in this case.

---

<div class="post-metadata">

**Author:** ![kingzy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kingzy/32/15690_2.png) [@kingzy](https://community.glideapps.com/u/kingzy)\
**Post date:** [March 27, 2024, 5:44am UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/7 "2024-03-27T05:44:17Z")

</div>

Ok, so i found the solution.

Previously i was using a Math column to get a time difference.

After switching to Duration, it worked perfectly!

 ![IMG_2457](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/3/a35364c1993dac97802954a5b6488d96a8e69694.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 27, 2024, 2:58pm UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/8 "2024-03-27T14:58:16Z")

</div>

Good to hear it works now, but even if it’s a math column I wonder why it didn’t work. Maybe the underlying numbers were so small and the built-in chart has a minimum number for it to work with.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 3, 2024, 2:58pm UTC](https://community.glideapps.com/t/time-use-in-chart-data/71842/9 "2024-04-03T14:58:31Z")

</div>

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