Charts have been revamped 📊

Another week, another big update! This time is about our revamped Charts

Although we didn’t change how our charts look, we did completely overhaul the way they work under the hood.

To learn more details, please check out this blog post: https://www.softr.io/blog/charts-revamped

If you encounter anything weird or have other suggestions, please do let us know :pray:

4 Likes

Looks good, but it would be nice if basic charts would be available in the free plan.

I just have a simple ‘Cigar Journal’, and I don’t NEED charts, but it would be cool to be able to show some ‘live’ statiscits…

https://spookycigars.softr.app/

keep up the good work!
David

Thanks Softr team! What an improvement already. Quick question - I’m attempting to display 2 x charts (Pie and/or Bar) blocks next to each other using the code from @matthieu_chateau Custom code 2 columns layout: change the width of the columns (+ 3 columns layout).

They do display in columns but the charts aren’t displaying in a ‘responsive’ way. (the image is squished instead of how they display in mobile version)
image

Is it possible to display two charts next to each other?

Question: so a ton of the data that our org wants visualized in a dashboard is in the form of counting how many records in a table have a certain status tag so like # items “pending” vs # items “QC” etc. I was excited when I saw that you could aggregate information, but when I’m playing in the app it looks like I can’t have it aggregate based on a tag?
image
would the proposed workaround be to make a formula with a number for a tag value?

@danyalamriben there’s a bug with ‘Count all’ that we’ll fix tomorrow (the ‘Field’ setting below should be hidden as it’s irrelevant).

But just curious, is your ‘Status’ field single or multi-select?

1 Like

single, and I gave it a whirl using chatgpt and it worked haha


image
image
image
kinda hacky workaround, definitely will appreciate the bug fix!

Yes, will let you know as soon as we fix it!

1 Like

@rebeccajane it’s a bit tricky with react blocks and dom size changes. I would suggest waiting a bit, as we will be enabling side-by-side sooner or later :slight_smile: we have too.

Hi @rebeccajane ,

Can you go to this thread to comment and show me what are the code used? (there should be 3 of them). If I start debugging here, the thread is going to be overwhelmed.
Also, can you confirm that this happens on a desktop view and not mobile or tablet devices?

Here is an example, it should work (these are the new, updated chart blocks): https://test-play.softr.app/two-columns-draggable

2 Likes

Sorry forgot to get back. The “Count” function is fixed as of last week. If you still run into issues do let us know!

Hi @austinyang I think it was working for a little while but now I’m running into new issues where it’s saying “not enough data to show a chart yet” but the number of records that it should be aggregating are 40, using a single select status field for the same donut chart above. Do you guys know what the conditions are that cause that “not enough data” to show up?

I am speaking with support and being told now that the only fields working for aggregation functions are still numbers or formulas, so I’m confused what you mean by the “count function is fixed of last week” haha… I may be misunderstanding your meaning :sweat_smile: I’ll go back to my initial GPT/formula workaround for now

Hello Diana, I see you’re discussing this one with the support team already. Aramayis just suggested a temporary workaround for it, and I’m following up with the engineering team to understand what happened here. I’ll keep you posted.

Awesome, I was hoping it wasn’t the permanent :slight_smile: just wanted to be sure… thank you!