On 8 December 2010 18:09, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
On 12/08/2010 11:47 AM, Jerome Velociter wrote:
Hi Paul,
The second part is a velocity snippet. It has been written at a time
there
was only one syntax in XWiki (what we call now
syntax xwiki/1.0). In the
new
syntaxes (xwiki/2.0 or xwiki/2.1), you need to
surround velocity code
blocks
by the {{velocity}} macro to get it executed.
See
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax for more on
this.
If you get the snippet working, it would be great
you update it to add
the
information you've missed in the first place.
I just did it.
Hope this helps,
Marius
I got half-way...
I copy-pasted the new text into the editor (in 'source' mode),
in Chrome, I can see the chart but then it pops up an error:
Caught exception: TypeError: Cannot read property 'documentElement' of null
in Firefox:
Caught exception: TypeError: v1 is null
in IE 8:
Caught exception: TypeError: 'documentElement' is null or not an object
ideas?
thanks
Paul