Hi all, I try to pass the result of a SELECT action on a SQLite db to pass on to the DrawLineGraph method of Chartmaker method (I know both extensions are not on the supported list of AppInventor). The SELECT command on the db results in a list like this:
[[03/07/2020, 67.4],
[04/07/2020, 69.2]]
However passing that to the DrawLineGraph I always get the message the format is not conform the YailList:
"java.util.ArrayList cannot be cast to com.google.appinventor.components.runtime.util.YailList"
Not familiar with YailLists but if I understand right it means the elements should contain text, something like this:
[["07:15:25 15-6-2020", "75.5"],
["07:16:26 16-6-2020", "76.6"]]
Seems strange to me since their sample works with just using fix math numbers to make up the list. That makes up something like this:
((1 19 87)(4 10 45))
Is there a proper way to pass on the table from an SQLite to the methods of ChartMaker?
Is there a proper way to convert the table to a Yail table? I tried about every option in the Text block but fail to convert it in a proper way. I'm reluctant to iterate over every element in the list and convert it to text in another list.
Any help or tips? Thanks a bunch in advance!