On 03/09/13 15:23 -0700, Martín Guzmán wrote: > Hi all! I need to create a graph with 12 points in the x-axis (one for each > month prior to the current date) and the value in the y-axis is calculated > through a function field. How should I define the table so it always has > the 12 rows I need? Or is there a better way to do this?
You can use a Model with a sql_query that use "generate_series" as table to generate 12 rows. Or you can store in a Model 12 records created by XML. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpvQd_TKLmtl.pgp
Description: PGP signature
