Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-29 Thread Farai Mutero
Hi Lars Does the ou parameter for the chart resource accept multiple ou_ids or a parent ou ids? The charts I'm seeking to create will in most cases display multiple facilities in a single chart. Is there a work around at the moment that I can use to create a template chart and then pass dynamic

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-25 Thread Knut Staring
> > That's great - I thought they were not supported for the stored charts, > because I tried a bit and did not see any difference. Could you provide an > example URL for the demo? > On Thu, Jul 25, 2013 at 6:19 PM, Lars Helge Øverland wrote: > Hi Farai, the following parameters are supported fo

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-25 Thread Lars Helge Øverland
Hi Farai, the following parameters are supported for the chart resource: ou= pe= date= Need to include this in the docs. Lars ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launch

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
So that means I can't pass dynamic uid parameters then? Such a facility would have greatly assisted me to quickly create my html report leveraging off the charts already created and saved as favourites in the Data Visualizer. I would only need to dynamically pass the uid to it and get the relevant

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Knut Staring
Sorry, I misread your question a bit. In your case, you can only pass width and height if you wish to work with stored charts, like this: http://apps.dhis2.org/demo/api/charts/UlfTKWZWV4u/data?width=300&height=400 On Wed, Jul 24, 2013 at 8:35 PM, Knut Staring wrote: > Hi Farai, > > If you look

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Knut Staring
Hi Farai, If you look in the second table on this page, you will see that there is a dynamic parameter called ou: http://apps.dhis2.org/demo/api/charts/UlfTKWZWV4u On Wed, Jul 24, 2013 at 8:07 PM, Farai Mutero wrote: > Thanks Jan for the feedback. Noted. > > The following querystring parameter

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
Thanks Jan for the feedback. Noted. The following querystring parameters *" tableLayout=true&columns=dx;ou&rows=pe"* found in the Web API documentation just provided what I was looking for : api/analytics.html?dimension=dx:fbfJHSPpUQD;cYeuwXTCPkU&dimension=pe:2012Q1;2012Q2&dimension=ou:O6uvpzGd5p

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Jan Henrik Øverland
Hi Farai, such layout is produced by the pivot tables client, so you cannot get it directly from the server. On Wed, Jul 24, 2013 at 6:44 PM, Farai Mutero wrote: > Hi Guys > > I'm using the Web API to design an html report displaying pivot tables. > How do I adjust my url call so that the pivot

[Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
Hi Guys I'm using the Web API to design an html report displaying pivot tables. How do I adjust my url call so that the pivot table rendered can display in the same way it was designed. Using the DHIS2 demo for example, if I use the url http://apps.dhis2.org/demo/api/analytics.html?dimension=dx:J