# Chart doubles/triples values when page size increased

**URL:** <https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705>\
**Category:** Report a Bug\
**Created:** [April 18, 2024, 5:28pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705 "2024-04-18T17:28:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole\_Gravagna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicole_gravagna/32/73830_2.png) [@Nicole\_Gravagna](https://community.glideapps.com/u/Nicole_Gravagna)\
**Post date:** [April 18, 2024, 5:28pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/1 "2024-04-18T17:28:59Z")

</div>

Team ID:ggstxh7QmtdLqgAJ5uFs  
App ID: [Glide](https://go.glideapps.com/app/onMxVlbVXVNMnMmxJlRp/layout)  
Chrome, Windows (and everyone else’s computer on the team too)

Description:  
The Line Chart is showing values that are 2x or 3x the values in the source table.

How to replicate:  
I have created a Line Chart with 48 months on the X axis. It has 4 columns of data in a table together that plot within those 48 months.

To see all 48 months in the same view, I have expanded the page size of the line chart from the default 24 to 50 so that I can see all the months.

When I expand the page size, the values in the chart duplicate or triplicate. This is unexpected behavior. When I put the page size back to 24, the values return to their original state. I want to be clear - the values in the table are not changing. It’s the values on the chart hover (and the plot of the lines themselves) that are changing.

Sometimes, the values in the whole data set double. Sometimes the values in the whole data set triple. Sometimes just a few of the values double or triple.

Page size 24 - Expected Values

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/5/653b781652fa7b2a8384ec7d3fa6dece98667b24.jpeg)

Page size 50 - Doubled values

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a6310a9dd8170e5d56974f8028154ae835f319ed.jpeg)

Page size 100 - Tripled values

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/95b41cd80bf908d0be0ca0a3e7f90f51e477ce47.jpeg)

---

<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:** [April 19, 2024, 12:04am UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/2 "2024-04-19T00:04:49Z")

</div>

How many rows do you have for the table you’re pointing to?

---

<div class="post-metadata">

**Author:** ![Nicole\_Gravagna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicole_gravagna/32/73830_2.png) [@Nicole\_Gravagna](https://community.glideapps.com/u/Nicole_Gravagna)\
**Post date:** [April 23, 2024, 5:03pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/3 "2024-04-23T17:03:57Z")

</div>

This data set is 48 rows

---

<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:** [April 23, 2024, 11:08pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/4 "2024-04-23T23:08:49Z")

</div>

There’s no chance there are duplicated rows date-wise in your dataset, is that correct? If so, I might classify it as a bug.

---

<div class="post-metadata">

**Author:** ![Nicole\_Gravagna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicole_gravagna/32/73830_2.png) [@Nicole\_Gravagna](https://community.glideapps.com/u/Nicole_Gravagna)\
**Post date:** [April 29, 2024, 7:46pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/5 "2024-04-29T19:46:21Z")

</div>

Yup. Its a bug. And a pretty nasty one. I reported it.

It’s replicable, but it also hides when the chart is page size 24. But if you expand the page size and then make it 24 again, the bug doesn’t aways go away. So the chart values aren’t totally trustable. 😬

---

<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:** [April 29, 2024, 11:24pm UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/6 "2024-04-29T23:24:07Z")

</div>

Thank you, please let us know how it goes in your ticket with the team.

---

<div class="post-metadata">

**Author:** ![Nicole\_Gravagna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicole_gravagna/32/73830_2.png) [@Nicole\_Gravagna](https://community.glideapps.com/u/Nicole_Gravagna)\
**Post date:** [May 1, 2024, 12:48am UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/7 "2024-05-01T00:48:12Z")

</div>

Well, you were right @ThinhDinh!

And George Barnabic uncovered it too. My data was buggy and there were three entries for the same dates causing double and triple the values. I’m only supposed to have one entry for each date in this data set.

The reason it didn’t show up all the time, is that page size isn’t counting the width of the chart. It’s counting how many rows of data fit into the chart (at least that’s now what I think it’s doing). So with a smaller page size, only one instance of the date was included in the chart. By expanding the page size to 100, I allowed the chart to contain all three (one correct and the two duplicates) of my data points on the same date.

Kudos to the Glide team for unraveling this ridiculous mystery. There was indeed a bug and it is all mine.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 1, 2024, 12:53am UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/8 "2024-05-01T00:53:14Z")

</div>

Bug squashed! 🪲🎃

---

<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:** [May 1, 2024, 7:05am UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/9 "2024-05-01T07:05:09Z")

</div>

Good to hear it’s fixed.

---

<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:** [October 28, 2024, 7:06am UTC](https://community.glideapps.com/t/chart-doubles-triples-values-when-page-size-increased/72705/10 "2024-10-28T07:06:42Z")

</div>

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