Hi Shawn,
On 2/8/07, Shawn Lauzon <lauzon(a)us.ibm.com> wrote:
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.
I just documented the most important parameters of the {chart} macro:
http://www.xwiki.org/xwiki/bin/view/Code/ChartMacro
Hope this can help you. Once the 2 small fixes we made today in the
charting plugin will be applied to
xwiki.org I will also add a lot of
samples I prepared a while ago (they are all using data from tables
though). If you want to see them now you can temporary download them
here:
http://www.ps.uni-sb.de/~hritcu/temp/samples.zip
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.
Sorry, but ObjectDataSourceFactory seems not to be working any
more
(don't even know if it ever did). In the most cases a table data
source should be enough.
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.
It was some sort of extension mechanism we devised when we first built
the plugin. Looking in retrospect it no longer seems like a good
extension mechanism. Still, the use case we had in mind then, does not
seem to be similar to what you have in mind now.
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
Exactly. It was fixed today and committed on SVN :)
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 ...
Yes, it would be great to have this for xwiki. However, at the time
this is just not implemented. It would be great if you could help us
implementing this. I will have a look at the options we have for this
and then come back to you. Until then it would be great if you could
create a JIRA issue for this where you detail your use case.
Catalin
"Catalin Hritcu" <catalin.hritcu(a)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(a)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(a)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(a)objectweb.org
> > mailing list.
> > To unsubscribe:
mailto:xwiki-dev-unsubscribe@objectweb.org
> > For general help:
mailto:sympa@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@objectweb.
org mailing list.
To unsubscribe:
mailto:xwiki-dev-unsubscribe@objectweb.org
For general help:
mailto:sympa@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(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws