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.
Hi Shawn, You've said the magic words "help document"! Try searching for "site:old.xwiki.org charting" in google. I've tried and I got pointers. The Charts plugin is included in the core so it's available in the XWiki distribution you have. Just enable it in your xwiki.cfg file Thanks -Vincent On Feb 8, 2007, at 5:27 AM, Shawn Lauzon 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.
Can you give us a more informative description of the error you are getting? Catalin On 2/8/07, Shawn Lauzon <lauzon@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@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
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@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@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@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
Hi Vincent, I will gladly document the Charting macro. Could you please create a page in http://www.xwiki.org/xwiki/bin/view/Code/Macros and give me (user=hritcu) the appropriate edit rights ? Should there also be a jira task for this? Catalin On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
Hi Shawn,
You've said the magic words "help document"!
Try searching for "site:old.xwiki.org charting" in google. I've tried and I got pointers. The Charts plugin is included in the core so it's available in the XWiki distribution you have. Just enable it in your xwiki.cfg file
Thanks -Vincent
On 2/8/07, Catalin Hritcu <catalin.hritcu@gmail.com> wrote:
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@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@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@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
On Feb 8, 2007, at 10:38 AM, Catalin Hritcu wrote:
Hi Vincent,
I will gladly document the Charting macro. Could you please create a page in http://www.xwiki.org/xwiki/bin/view/Code/Macros and give me (user=hritcu) the appropriate edit rights ? Should there also be a jira task for this?
Cool. 1) You can create it yourself. You simply need to be registered on xwiki.org for doing so (anyone registered has edit rights in pure wiki fashion ;-)). In the code zone, check the right menu and you'll see there's a form to add a new macro/plugin/App/etc. Is this a macro? I thought it was a plugin... 2) Yes there should be a jira task for this as a sub task of http:// jira.xwiki.org/jira/browse/XWIKI-586 Thanks! -Vincent
On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
Hi Shawn,
You've said the magic words "help document"!
Try searching for "site:old.xwiki.org charting" in google. I've tried and I got pointers. The Charts plugin is included in the core so it's available in the XWiki distribution you have. Just enable it in your xwiki.cfg file
Thanks -Vincent
On 2/8/07, Catalin Hritcu <catalin.hritcu@gmail.com> wrote:
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@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@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@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
___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com
Hi Vincent, Charting is a plugin. The plugin contains of a {charting} radeox macro and a nice but still underdeveloped WYSIWYG wizard. The macro has really a lot of parameters (more than 100 I think) so it is not easy to use directly -- that's why there was the need for a wizard in the first place. Still the macro parameters should be documented to some extend too. I have a lot of examples I could use to illustrate the use of the more important ones. There are approximatively 10 chart types -- so at least one example for each chart type. The link for the newly created documentation page is this: http://www.xwiki.org/xwiki/bin/view/Code/chart Catalin On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
On Feb 8, 2007, at 10:38 AM, Catalin Hritcu wrote:
Hi Vincent,
I will gladly document the Charting macro. Could you please create a page in http://www.xwiki.org/xwiki/bin/view/Code/Macros and give me (user=hritcu) the appropriate edit rights ? Should there also be a jira task for this?
Cool.
1) You can create it yourself. You simply need to be registered on xwiki.org for doing so (anyone registered has edit rights in pure wiki fashion ;-)). In the code zone, check the right menu and you'll see there's a form to add a new macro/plugin/App/etc. Is this a macro? I thought it was a plugin...
2) Yes there should be a jira task for this as a sub task of http:// jira.xwiki.org/jira/browse/XWIKI-586
Thanks! -Vincent
On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
Hi Shawn,
You've said the magic words "help document"!
Try searching for "site:old.xwiki.org charting" in google. I've tried and I got pointers. The Charts plugin is included in the core so it's available in the XWiki distribution you have. Just enable it in your xwiki.cfg file
Thanks -Vincent
On 2/8/07, Catalin Hritcu <catalin.hritcu@gmail.com> wrote:
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@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@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@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
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
-- 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
There is a problem with the charting plugin: http://jira.xwiki.org/jira/browse/XWIKI-824 Maybe some rectification necessary: * the radeox macro is named {chart} * renamed the documentation page to http://www.xwiki.org/xwiki/bin/view/Code/ChartMacro Catalin On 2/8/07, Catalin Hritcu <catalin.hritcu@gmail.com> wrote:
Hi Vincent,
Charting is a plugin. The plugin contains of a {charting} radeox macro and a nice but still underdeveloped WYSIWYG wizard. The macro has really a lot of parameters (more than 100 I think) so it is not easy to use directly -- that's why there was the need for a wizard in the first place. Still the macro parameters should be documented to some extend too. I have a lot of examples I could use to illustrate the use of the more important ones. There are approximatively 10 chart types -- so at least one example for each chart type.
The link for the newly created documentation page is this: http://www.xwiki.org/xwiki/bin/view/Code/chart
Catalin
On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
On Feb 8, 2007, at 10:38 AM, Catalin Hritcu wrote:
Hi Vincent,
I will gladly document the Charting macro. Could you please create a page in http://www.xwiki.org/xwiki/bin/view/Code/Macros and give me (user=hritcu) the appropriate edit rights ? Should there also be a jira task for this?
Cool.
1) You can create it yourself. You simply need to be registered on xwiki.org for doing so (anyone registered has edit rights in pure wiki fashion ;-)). In the code zone, check the right menu and you'll see there's a form to add a new macro/plugin/App/etc. Is this a macro? I thought it was a plugin...
2) Yes there should be a jira task for this as a sub task of http:// jira.xwiki.org/jira/browse/XWIKI-586
Thanks! -Vincent
On 2/8/07, Vincent Massol <vincent@massol.net> wrote:
Hi Shawn,
You've said the magic words "help document"!
Try searching for "site:old.xwiki.org charting" in google. I've tried and I got pointers. The Charts plugin is included in the core so it's available in the XWiki distribution you have. Just enable it in your xwiki.cfg file
Thanks -Vincent
On 2/8/07, Catalin Hritcu <catalin.hritcu@gmail.com> wrote:
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@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@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@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
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
-- 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
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@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@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@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@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
Hi Shawn, On 2/8/07, Shawn Lauzon <lauzon@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@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@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@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@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@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
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.
Indeed, the code for this is completely wrong, and it only shows how poor was owr knowledge of XWiki was two years ago.
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
The right behavior would be to have parameters for ClassName (the name of the type of the XWiki objects to use), the property name (the property that should be used as a data source), and the optiona document name and object number selection (range or set). Then, the datasource would extract from the [selected] objects the property and construct a proper data set. If you can write this and submit a patch, you would be of great help, as we are all busy with the 1.0 release. Thank you, Sergiu -- http://purl.org/net/sergiu
On 2/8/07, Sergiu Dumitriu <sergiu.dumitriu@gmail.com> wrote:
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.
Indeed, the code for this is completely wrong, and it only shows how poor was owr knowledge of XWiki was two years ago.
Not really, it's just a different use case. And maybe the name of the class is not really informative in this case. Here is the use case we had in mind back then (it took a while to remember): We wanted to have a way to store data sources in the wiki and then reuse them for more than one chart. We accomplished this by storing the arguments for a usual table data source has in an xwiki object. So maybe a better name for this would have been PersistentDataSource since we were using this only to have a persistent and reusable representation of a table data source (actually that is the only kind of basic data source we support anyway). And now I remember that this worked very well for the charting wizard, where defining a data source was decoupled from using it for the chart. We actually allow reusing data sources in the wizard which is quite nice. Still totally useless for what Shawn needs. Catalin
Yep Sergiu, that sounds about right. My biggest need is a line graph, for which I need two values for each point (x, y), so there might be a couple parameters. But the general idea that you're outlining sounds exactly what I was thinking. And with the framework that Catalin already has, shouldn't be too hard to write. I'll work on creating a patch for this and submit it; I am also excited about the 1.0 release, and so wouldn't ask you to divert resources to something new. shawn. "Sergiu Dumitriu" <sergiu.dumitriu@gmail.com> wrote on 02/08/2007 03:38:09 PM:
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.
Indeed, the code for this is completely wrong, and it only shows how poor was owr knowledge of XWiki was two years ago.
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
The right behavior would be to have parameters for ClassName (the name of the type of the XWiki objects to use), the property name (the property that should be used as a data source), and the optiona document name and object number selection (range or set). Then, the datasource would extract from the [selected] objects the property and construct a proper data set. If you can write this and submit a patch, you would be of great help, as we are all busy with the 1.0
release.
Thank you, Sergiu -- http://purl.org/net/sergiu -- 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
participants (4)
-
Catalin Hritcu -
Sergiu Dumitriu -
Shawn Lauzon -
Vincent Massol