On Mon, Aug 1, 2016 at 10:43 AM, Jan Henrik Ă˜verland <[email protected]> wrote:

>
>    - Can we specify the size of png image to be generated via the api?
>
> Not at the moment, but that could possibly be added to the backend -
> Morten?
>

Hi

The /api/24/charts/ID/data.png API supports the following parameters:
date - for changing the set period
ou - for changing set ou
width - width of image
height - height of image
attachment - true/false should it be sent as content disposition attachment

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to