---------- Forwarded message ----------
From: Pooben Dass <[email protected]>
Date: Fri, Oct 7, 2016 at 11:59 AM
Subject: Embedding Event Charts
To: [email protected]
Cc: [email protected], Kabelo Molepo <[email protected]>


Hi Devs

Can we embed Events charts in a standard report and from which version of
dhis2 is this possible?

Is this the correct format of the script?

 DHIS.getEventChart({
url : base,
el : 'chart1',
type : 'column',
program : 'ProgramUID',
programStage : 'StageUID',
columns : [ {dimension : 'ou',items : [ {id : 'USER_ORGUNIT' }  ] } ],
rows :  [ {dimension : 'pe',items : [ {id : 'LAST_6_MONTHS' } ]} ],
filters : [{dimension : 'dy',items : [{id : 'DE_UID:EQ:VALUE'}] } ],
outputType: 'EVENT',
showData : true,
});

Kind Regards
Pooben

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to [email protected] 
<[email protected]> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
_______________________________________________
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