I need help with ChartMakerPlus

All I can do is repeat what I have said above.

The LineChart in ChartMakerPlus expects data supplied in this format:

Where Year is displayed on the horizontal axis, and Sales and Expenses are the two lines on the chart.
Apart from the three headings in the first sublist, all the other entries should be numbers.

You can perhaps get an idea of how things are constructed by looking at the google charts reference:

[
 ['Year', 'Sales', 'Expenses'],
 ['2004',  1000,      400],
 ['2005',  1170,      460],
 ['2006',  660,       1120],
 ['2007',  1030,      540]
]
1 Like

Ok, thank you very much, I will study a little more and try to understand where my error is. But probably my error is in the data storage, and not in the graph.

The problem was actually the storage method in TinyDB, I managed to solve it, but I have another problem, now only points appear and not lines.

help2

remove the extraOptions and test again.

Thank you for your help, but even though it's moving, it's still the same.

image

and what's the lista_Grafico?

and clear the cache of AI2 Companion?

Is that what you ask?

image

image

Unfortunately it is not enabled

image

you really need to learn how to debug first.

connect the ai2 companion first.

I really do need it, lol. I'm a programming apprentice because I haven't done it for a while, is there a tutorial for this?

https://ai2.appinventor.mit.edu/reference/other/testing.html

I will try to learn, thank you very much for your help. If I could send you the file to help me it would be easier, but it is over 8 MB.

you can make a minimal demo and upload here.

image

image

resize the comment box to show us all the do it result.

image

you can not have 2 head line.

1 Like

You are correct once again, thank you very much everyone for your help, problem solved. :smiley:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.