Q:

jqPlot in xpages

Has anyone used jqPlot to build a graph in XPages? If anyone has, did you need to have the xpages extension library? Anyone used any other plotting tools in xpages apart from Dojo?
I am following this tutorial but I don't know how to get the JSON values all in one column like the screenshots show.
http://blog.wilhow.net/2013/03/17/charting-104-in-xpages-connecting-to-notes-document/
The tutorial also says "You will need to define some composite data in the Property Definition tab so that you can pass these values into jqPlot as variables." Does XPages already have jqPlot built in it?

A:

Iona,
"..did you need to have the xpages extension library.."
ANS:Extension Library(Ext Lib) is not necessary for the example. Ext lib is geared towards rapid development of certain common features that will be reused frequently in XPages. ie. REST service, Name Picker.
"..Does XPages already have jqPlot built in it?.."
ANS: No. jpPlot is an external library built and maintained separately from XPages.
"...Anyone used any other plotting tools in xpages apart from Dojo?..."
ANS: There are plenty other plotting tool that you can use, a couple that comes to mind KendoUI, Highcharts, google charts. As long as the plotting tool is js based, you should be able to integrate it with XPages fairly easily.
"..I don't know how to get the JSON values all in one column.."
ANS: The column formula for that particular column is shown below. IE,FF,CH,SA,OP are field names.
http://wilhow.files.wordpress.com/2013/04/screen-shot-2013-04-11-at-8-36-09-pm.png
"...define some composite data in the Property Definition tab..."
ANS: The above is true only if you want to follow the example or if you want to create a reusable custom component that plot charts with a set of given values. CompositeData is a feature built into XPages's custom controls to allow values to be received from one custom control that is embedded in another. Below is an example of how a CompositeData is defined and implemented in the example. 
http://wilhow.files.wordpress.com/2013/04/compositedata1.png
Unfortunately I'm not able to post any images yet. You will have to follow the link to view the image. In any case, I hope the answer helps.
Cheers,
Wil
xpages xpages-ssjs lotus-notes lotus-dominojqplot

