šŸ“Š [Free] ChartMakerPlus - an extension to make google charts

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.
image
and this are the properties
image
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.


Again, sorry for the dumbs questions.

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:
image
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.

For example:

Perfect, itĀ“s working clean. Honestly iĀ“m not sure what you have done, i donĀ“t understand it well, mostly the "Web1" block because i didnĀ“t have that in designer part so i had to add it. iĀ“m glad i entered this post, you donĀ“t know how thankfull i am with you. Sorry for all the questions and problems. Also i donĀ“t know what the "projectbucket" part in designerĀ“s window do. or what should i do with that. but thanks for everything.

1 Like

@TIMAI2 This extension is really good. I wish to use your ChartmakerPlus extension in a project I am creating for the MIT Appathon 2023. Do let me know if you are ok for MIT to redistribute this as part of the competition.

@Fireninjaa

Did you read to the bottom of the first post in this topic ?

@TIMAI2 ok, i got it, thanks a ton!

The extension is great, but I need help.
I want to make a line graph consisting of an exponential curve with a red dot to highlight a specific point. All this with a logarithmic scale on both axes. The problem is that the table does not allow the value in the first line to be filled with "NaN" or "none", and in the logarithmic scale it sees the second series of values ā€‹ā€‹as continuous, even filled as empty.

It works perfectly with just one series,.

If I use a non-logarithmic scale, there is an annoying red dot at the origin

What are your k, a, c, M, curve and tempo values ? (all your unshown variables used...)