Hi Devs

I'm trying to embed a chart with category options on to an HTML page.

What is the correct format to map the co & de dimension? This is the
example for the de only?

DHIS.getChart({
url : base,
el : 'chart1',
type : 'pie',
columns : [ {dimension : 'de',items : [ {id : 'DE_UID' }] } ],
rows :  [ {dimension : 'pe',items : [ {id : 'PE_UID' } ]} ],
filters : [{dimension : 'ou',items : [{id : 'UID' }] } ],
showData : true,
});

DHIS2 version 2.25


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