@edwardbutcher Hello, I am not sure why my chart is throwing this error. Its been working fine in dev and live versions but now I see this error using the debugger
TypeError: b.series_1_bubble_category.length is not a function
at I (eval at _.create_code (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:96:28129), :9:76)
at eval (eval at _.create_code (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:96:28129), :34:426)
at T (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:97:8802)
at Object.Ve.run_without_catching_not_ready (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:99:13189)
at e._run_if_not_destroying (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:87:6599)
at e.run_me (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:99:22866)
at t (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/8b13cf73e4de527fe31664db00632b35827e20fbbbfec3437a476ac0201dfa4d/xfalse:99:24669)
Same here…updated the plugin, but no change. Wondering if tied to the AWS issues from today.
Thanks for flagging and sorry for the outage… filing a bug report now with Bubble. Nothing changed at the plugin end. The
.length() function is provided by Bubble to help us manage data fetched from the database.
Will let you know once I know more.
A yep, OK I see now, its not fetching the data, they also just had an outage, so maybe a recent Bubble.is update / change.
I was not using latest version. I updated, and still getting error. Def worth a shot though!
Hey @edwardbutcher, some of my plugins are also being affected by this .length() issue. I’m assuming it’s a bug, but if you hear back from your bug report that this is an intentional change, please let me know!
@emmanuel has got back to me and they are taking a look.
Sounds like no intentional code changes their side so most likely a bug.
Yep, all good here.
Yes, all good here!
So there’s no way to use a bar chart to indicate the number of times a certain value (either text or number) a field contains in a table/thing?
When will there be tutorials, either video, or screenshots of examples of expressions to enter in each of the required categories and values for a chart type? It sure would help those of us not familiar with this sort of thing, especially for those who have chosen the paid version of a plugin.
Sure would love some help here.
If I understand you correctly then what you want to do is definitely possible.
If you’re ever stuck then the best calling point is the micro-site here, and specifically the reference documentation here. You can also find a host of tutorials here and on the Library & Learn page of the old micro-site here. Tutorials are always a work in progress as they date quite fast with new versions… but all the concepts in there are the same, even if the labels have changed.
But on your specific query what you need to do is setup something like the example below… this is using the Bar/Line - Chart.js element (but you’ll find the same options on the other elements). Once you’ve dropped the element onto the page you need to do two things:
- Run a Search within the Category data list box for the data items you need to count. For example, this could be a field of Yes / No data from questions responses.
- Tick the Use Category data as values box - this will do a count of matching responses from your category search and use that as your values. So, in this example it will count all the Yes’s and then all the No’s.
Final point, best to keep an eye on the Chart Tools thread as amCharts is gradually being retired - currently Premium is now only available as Chart Tools, this is soon to be Free as well.
And feel free to get in touch with me [email protected] if you need specific help.
Very helpful. Thanks for your response and clear instructions. I may be taking you up on your offer to email with specific questions.
@edwardbutcher can you confirm the amCharts plugin workd with the new data grouping and aggregation feature? I can’t seem to get it work because the plugin doesn’t recognize the 'grouping’data type.
Hey @vincent56 posted an update on this in the Chart Tools thread yesterday. Headline is I am bringing the capability on-board imminently.
Sorry! I didn’t know there was an upgraded plugin!