Hi Jan
I had a look at the server and its a DHIS 2.24 version.
Is there No way for it to work on 2.24?
Regards
Pooben
On Tue, Nov 8, 2016 at 2:45 PM, Jan Henrik Øverland wrote:
> That config should work and I just had it work on the 2.25 dashboard.
>
> I see you are still using DHIS.getChart -
Hi Jan
Sorry i copied and overwrote the row in this email but this is the script
all that displays is the Title and label.
DHIS.getChart({
url : base,
el : 'chart1',
type : 'column',
columns : [ {dimension:'NJEphFlHptZ',items : [ {id : 'EzyqzEZWZnJ' },{id :
'oa0TQEBOTSc' }]} ],
rows : [ {dimensi
Hi Jan
I've changed the script to use the gender UID as below but the Title and
labels are the only things that display and there is no error
DHIS.getChart({
url : base,
el : 'chart1',
type : 'column',
columns : [ {dimension:'NJEphFlHptZ',items : [ {id : 'EzyqzEZWZnJ' },{id :
'oa0TQEBOTSc' }]} ],
Thanks for the reply Jan
I've tried it as you stated but I get this error
chart.js:2244 Uncaught TypeError: Cannot read property 'index' of
undefined(…)
Here is the code
DHIS.getChart({
url : base,
el : 'chart1',
type : 'column',
columns : [ {dimension:'co'} ],
rows : [ {dimension : 'pe',items
Thanks Jan
I would like to have the years display seperately. I've tried this
rows : [{dimension:'co'},{dimension : 'pe',items : [ {id : 'LAST_5_YEARS'} ]
but the co labels are the only things that display.
The chart is able to display in the visualiser but I would like to let it
display for dif
-- Forwarded message --
From: Pooben Dass
Date: Fri, Nov 4, 2016 at 9:52 AM
Subject: Embedding a chart on an HTML page
To: dhis2-devs@lists.launchpad.net
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
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
7 matches
Mail list logo