Well the charting macro that I tried to get working was this: {{chart type="line" source="inline" params="range:B2-D5;series:columns;" title="Chart Test" width="320" height="240"}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} Which I had believed to be XWiki syntax 2.0? I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol <[email protected]> wrote:
Hi Adam,
On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote:
**Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page.
The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered.
I changed the line :
# xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki
to this :
# xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki
And now it works. I'm assuming its because the page tried to post the chart before it was rendered.
Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0.
Are you sure it's this param change that made it work for you?
If so, could you create a jira issue about this on http://jira.xwiki.org?
Thanks a lot -Vincent
My charts work, all is well.
Adam
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users