Thank you Marta
Marta Girdea wrote: > > Hi MikSan, > > You must specify the table number, which by default is 0 (the chart > will take the data from the first table in the wiki document). Details > here: http://code.xwiki.org/xwiki/bin/view/Macros/ChartMacro > > More specifically, this is what you have to write to obtain a chart > for your second table: > {chart:source=type:table;range:A1-B4;table_number:1|type=pie|title=pie > in the sky} > > On Tue, Jul 22, 2008 at 2:58 PM, MikSan <[EMAIL PROTECTED]> wrote: >> >> Hi everybody! >> I have a question using these macros >> >> {table} >> category|sales >> money |4 >> job|4 >> {table} >> >> {chart:source=type:table;range:A1-B4|type=pie|title=pie in the sky} >> >> {table} >> Category | Sales ($) >> Category 1 | 1000000 >> Category 2 | 500000 >> Category 3 | 500000 >> Total | = sum(B2:B4) >> {table} >> {chart:source=type:table;range:A1-B4|type=pie|title=pie in the sky} >> >> I get two charts but they are the same. I can only builds charts relative >> too: >> {table} >> category|sales >> money |4 >> job|4 >> {table} >> >> any help? >> -- >> View this message in context: >> http://n2.nabble.com/Charts-and-Tables-tp576594p576594.html >> Sent from the XWiki- Dev mailing list archive at Nabble.com. >> >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > > -- View this message in context: http://n2.nabble.com/Charts-and-Tables-tp576594p576810.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

