Docs for TMPL_LOOP?
Posted: Fri Jan 02, 2015 5:24 pm
Hi,
I'm having trouble using TMPL_LOOP how i'd like. Is there any documentation on how to use it in General Reports?
I've got my data into the table how i need it fine, but i cant get the data into the graph how i'd like it. I've used sample reports but they dont seem to use them much or the reports dont work on my accounts (such as 0 trend).
I thought something like
result:set("LABEL", label) in luas function complete(result) would populate an array of labels for HTML to pick up, but i cant get this to work.
It seems the only data i can get into a graph through something like <TMPL_VAR PROFIT> is if the table has a column called PROFIT.
I'm having trouble using TMPL_LOOP how i'd like. Is there any documentation on how to use it in General Reports?
I've got my data into the table how i need it fine, but i cant get the data into the graph how i'd like it. I've used sample reports but they dont seem to use them much or the reports dont work on my accounts (such as 0 trend).
I thought something like
result:set("LABEL", label) in luas function complete(result) would populate an array of labels for HTML to pick up, but i cant get this to work.
It seems the only data i can get into a graph through something like <TMPL_VAR PROFIT> is if the table has a column called PROFIT.