# Possible to plot 2 series of computed values in a bar chart?

**URL:** https://community.glideapps.com/t/possible-to-plot-2-series-of-computed-values-in-a-bar-chart/35357
**Category:** Ask for Help
**Created:** [December 1, 2021, 8:35pm UTC](https://community.glideapps.com/t/possible-to-plot-2-series-of-computed-values-in-a-bar-chart/35357 "2021-12-01T20:35:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DavidCM](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@DavidCM](https://community.glideapps.com/u/DavidCM)
#### Post date: [December 1, 2021, 8:35pm UTC](https://community.glideapps.com/t/possible-to-plot-2-series-of-computed-values-in-a-bar-chart/35357/1 "2021-12-01T20:35:22Z")

</div>

I am trying to compare the values of 2 investment portfolios per year (each computed in a user-specific column) for 5 years in a calculator (with multiple users). Is there a way to do this?

Also, is it possible to format the y-axis?

Thanks for any advice you can provide.

---

<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: [December 2, 2021, 12:13am UTC](https://community.glideapps.com/t/possible-to-plot-2-series-of-computed-values-in-a-bar-chart/35357/2 "2021-12-02T00:13:19Z")

</div>

I think Quickchart is the way to go here.

> [@heart\_eyes Quickchart.io: the Cloudinary of Charts —on the fly charts!](https://community.glideapps.com/t/quickchart-io-the-cloudinary-of-charts-on-the-fly-charts/15946):
>
> GAME CHANGER! Stumbled upon this site today—a way to create on the fly charts using data from your Glide tables. Images render instantly and you can select one of 14 different charts, customize colors, styles etc all through URL parameters! The video below shows my first attempt to create a chart from scratch and implement it in Glide. Took me less than 5 minutes. End result:

For your specific use case I think a vertical bar chart like [this](https://quickchart.io/sandbox#%7B%0A%20%20type%3A%20'bar'%2C%0A%20%20data%3A%20%7B%0A%20%20%20%20labels%3A%20%5B'January'%2C%20'February'%2C%20'March'%2C%20'April'%2C%20'May'%2C%20'June'%2C%20'July'%5D%2C%0A%20%20%20%20datasets%3A%20%5B%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20label%3A%20'Dataset%201'%2C%0A%20%20%20%20%20%20%20%20backgroundColor%3A%20'rgba(255%2C%2099%2C%20132%2C%200.5)'%2C%0A%20%20%20%20%20%20%20%20borderColor%3A%20'rgb(255%2C%2099%2C%20132)'%2C%0A%20%20%20%20%20%20%20%20borderWidth%3A%201%2C%0A%20%20%20%20%20%20%20%20data%3A%20%5B-31%2C%20-70%2C%20-30%2C%20-33%2C%20-9%2C%2014%2C%20-41%5D%2C%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20label%3A%20'Dataset%202'%2C%0A%20%20%20%20%20%20%20%20backgroundColor%3A%20'rgba(54%2C%20162%2C%20235%2C%200.5)'%2C%0A%20%20%20%20%20%20%20%20borderColor%3A%20'rgb(54%2C%20162%2C%20235)'%2C%0A%20%20%20%20%20%20%20%20borderWidth%3A%201%2C%0A%20%20%20%20%20%20%20%20data%3A%20%5B73%2C%2041%2C%2029%2C%2061%2C%20-65%2C%2059%2C%2038%5D%2C%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%5D%2C%0A%20%20%7D%2C%0A%20%20options%3A%20%7B%0A%20%20%20%20title%3A%20%7B%0A%20%20%20%20%20%20display%3A%20true%2C%0A%20%20%20%20%20%20text%3A%20'Bar%20Chart'%2C%0A%20%20%20%20%7D%2C%0A%20%20%20%20plugins%3A%20%7B%0A%20%20%20%20%20%20datalabels%3A%20%7B%0A%20%20%20%20%20%20%20%20anchor%3A%20'center'%2C%0A%20%20%20%20%20%20%20%20align%3A%20'center'%2C%0A%20%20%20%20%20%20%20%20color%3A%20'%23666'%2C%0A%20%20%20%20%20%20%20%20font%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20weight%3A%20'normal'%2C%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%7D%2C%0A%20%20%7D%2C%0A%7D%0A) will do?

---

<div class="post-metadata">

### Author: ![DavidCM](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@DavidCM](https://community.glideapps.com/u/DavidCM)
#### Post date: [December 2, 2021, 12:33am UTC](https://community.glideapps.com/t/possible-to-plot-2-series-of-computed-values-in-a-bar-chart/35357/3 "2021-12-02T00:33:14Z")

</div>

Thanks! I’ll check it out.
