Docs for TMPL_LOOP?

Page 1 of 1
2 posts
Docs for TMPL_LOOP?

sterling
Super MMEX User

Posts: 82
Joined: Thu Dec 11, 2014 2:40 am
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.
Re: Docs for TMPL_LOOP?

guanlisheng
MMEX Developer

Posts: 279
Joined: Tue Dec 20, 2011 11:58 pm
Location: China
We use PERL::HTML syntax here and you can take a real case here https://github.com/moneymanagerex/gener ... ncySummary
Page 1 of 1
Who is online

Users browsing this forum: No registered users and 2 guests