Web API Pivot Table Layout

Hi Guys

Say 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:Jtf34kNZhzP;cYeuwXTCPkU;fbfJHSPpUQD;hfdmMSPBgLG&dimension=ou:USER_ORGUNIT_CHILDREN&dimension=pe:THIS_YEAR I get this view :

Yet I would like the Pivot Table to have a layout like this :



Farai Mutero