[xwiki-dev] Charting macro

Shawn Lauzon lauzon at us.ibm.com
Thu Feb 8 21:32:00 CET 2007


Hi Catalin,

Yes, I did find that page, but it doesn't give any information on how to 
use it; just what kind of capabilities it has. 

The error I'm currently getting is:

java.lang.ClassNotFoundException: 
com.xpn.xwiki.plugin.charts.source.XWikiComments 

Which is because I'm trying to use the ObjectDataSourceFactory and I don't 
know how to use it. I've tried to view the XWiki.XWikiComments type of 
object, but it's trying to instantiate an object of that type in the 
plugin.charts.source package. I can tell from the source that I'm not 
using it as it's supposed to be used, but I can't tell how it is supposed 
to be used.

There does seem to be at least one bug (ChartingPlugin.getName() returns 
super.getName(), when it should return "charting") which I can open an 
issue for and provide a patch, but I am guessing that that is what this 
bug is about http://jira.xwiki.org/jira/browse/XWIKI-824

Though maybe it would help to explain how I want to use it. I've got 
tracking data stored as objects on sets of pages (forms / classes /etc.) I 
want to be able to write a query which returns a set of objects, and then 
use the charting plugin to create charts based on some of the fields in 
those objects. This differs from the static tables that are in the 
example, but I hope this use case is still valid.

Finally, if there's any help that I can provide, I'm certainly available. 
Thanks ...

shawn.

"Catalin Hritcu" <catalin.hritcu at gmail.com> wrote on 02/08/2007 03:16:59 
AM:

> And the link to the documentation of the plugin is this:
> http://old.xwiki.org/xwiki/bin/view/Dev/XWikiCharting
> 
> Feel free to ask me if you have further problems/questions.
> 
> Catalin
> 
> On 2/8/07, Catalin Hritcu <catalin.hritcu at gmail.com> wrote:
> > Can you give us a more informative description of the error you are 
getting?
> >
> > Catalin
> >
> > On 2/8/07, Shawn Lauzon <lauzon at us.ibm.com> wrote:
> > >
> > > Hi all ... anyone know how to use this? It looks like there is 
> lots of code
> > > out there, but I see no instructions. I played around with it enough 
to at
> > > least get errors from the macro, but not enough to see anything. 
Pointers
> > > appreciated, and I can help document if someone gives a bit of a 
push.
> > > Thanks ...
> > >
> > > shawn.
> > >
> > > --
> > > You receive this message as a subscriber of the 
xwiki-dev at objectweb.org
> > > mailing list.
> > > To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> > > For general help: mailto:sympa at objectweb.org?subject=help
> > > ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
> > >
> > >
> >
> 
> 
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.
> org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/devs/attachments/20070208/28a8011d/attachment.html 


More information about the devs mailing list