OK, scrolling within a scrolling arrangement. Yep, doesn't always work.
You could try this extension:
to split up your big scrolling arrangement into pages.....
OK, scrolling within a scrolling arrangement. Yep, doesn't always work.
You could try this extension:
to split up your big scrolling arrangement into pages.....
Thank you so much , i'll try it out!
Best regards
Luca
Hi! first of all i speak spanish, so i apologize if my english is not good enough. I tried to make a column chart with data from firebase, but it doesn't seems to work, i swear i read all the documentation and try by myself but honestly i can't. i know my database is setted correctly. My problems are only the blocks. i just need to do a column chart with 4 columns that updates when i touch a button, and it should display the 4 int values into the columns, i know my problem is in the "list" part but i tried so many ways, so i return to the begining for this question, what should i do from this cap to do what i want? sorry if i am asking you something stupid. i need to siplay in the columns the first 4 tags from firebase, and keep it updated when i touched a button.
Let us simplify to start off with. Based upon your displayed firebase data, your columnData should look like this:
If you apply this, do you get your column chart ?
If so you need to show how you are returning the firebase data to the app, and in what format.
I started from the base y gave you in the first 2 pics to simplify the help you can bring me, so the first 2 pics i brought you is all i have, now i copy your pics exactly the same and i got the same pic you posted Also i don't have the "firebase blocks" because i thought it was extremely wrong so i delete that. i have my token and my firebase link correctly setted in the "designer" part, i know it because i can send int data from app inventor to firebase.
Edit: thanks for your soon reply.
Hi ! Me again, i tried my best but i still struggling with this, i came to an old post in this thread, and i intend to copy that, so this is the best iĀ“ve got, but still not working, first pic itĀ“s my blocks, second the image i tried to copy (this image itĀ“s in some point in this thread). i hope someone can help me, thanks again. also i know my blocks are extremely wrong.
sorry for that. It would be under the set "global plato" event, right? doing that, my chart doesnĀ“t show any number in the "AguaGrande" column, itĀ“s only an empty column. So with that modification, this is what i have.
So what value is in your tag ComidaGrande
? Set the value to a label so you can see it, or check your firebase data.
In firebase, the tag "ComidaGrande" is 20, but in my chart seems to be 0, is an empty column. iĀ“m thinking if could be a problem with the way i call the tag i the "call firebase. get value" event, is it okey to write it in that way ? or should i write a slash o something like "/ComidaGrande"
Depends where that tag is in your firebase data
What is your projectBucket set to, and show your firebase data structure from the console
iĀ“m not sure what are you asking for, but this is my project.
and this are the properties
i want to highlight that i can write numbers from appinventor to firebase. under the "Dispensador_de_alimento" title, specifically in "OrdenAgua" and "OrdenComida".
Set your ProjectBucket in the designer to empty / blank and try again
iĀ“m so thankfull, with that change it works ! Now to finish it, i should make the same with the other 3 tags. But i donĀ“t know where i should put the other blocks to do the same without interfere between each other. i know the next pic is wrong, but i think showing it to you is the easiest way for you to correct my blocks, rather than talking in the air.
in gotValue event, adf If tag=x, then....else if tag=y, then ....
and only when you get all data, then show chart.
Hi Kevin, thanks for your answer. ThatĀ“s actually my problem, iĀ“m not sure how to get all data withouth interfere with the other variables. iĀ“m not getting what you are telling me. Sorry. Also i donĀ“t know if the "when boton_actualizar. click do" event is fine and the modifications i have to do are only in the .gotvalue event. i understand that the block i have to use is the "if, then, else" one but i donĀ“t know where should i put it in the "gotvalue" event and how to fill it out.
Do your four pieces of data have to be under the root of the structure, or can they go under a projectBucket e.g.
https://dogfeeder-70168...firebasio.com/
|
__ColumnChartData
|
|__AguaChico:13
|__AguaGrande:32
|__ComidaChico:2
|__ComidaGrande:20
If so, you can call back all the data in one go and apply it to your chart accordingly
if making that doesnĀ“t interfere with my "writing blocks" that i have in another screen, it would be the same for me. these are the blocks iĀ“m talking about:
i think itĀ“s irrelevant but iĀ“m asking you just in case.
No, it will not interfere with those two items, although you could do the same thing for them as well....
actually, i would prefer keeping those blocks under the main root because of my arduino code, but itĀ“s easy to change the code according to that, nothing more than that, so if putting it under a projectBucket is way easier, letĀ“s go on with that.