Thanks Jan & Pooben. I tried to work with the existing JS and managed to
get a bit further:
http://mydhis2.com/dhis-web-commons\javascripts\ext\ext-all.js";
>
http://mydhis2.com/dhis-web-commons/javascripts/plugin/chart.js
">
Ext.onReady(function() {
DHIS.getChart({
"url": "Re: [Dhis2-devs] Embed chart - 2.24
Hi Martin,
Sorry for not offering a complete set of plugins.
There is a chance that the one for 2.25 will work with 2.24.
Please follow this example:
https://github.com/dhis2/pivot-tables-app/blob/v25/plugin.html
Just replace the link to reporttable.js with
http://dhis2-cdn.org/v225-1/plugin/re
Hi Martin
I see so what you looking for is the CDN for 2.24?
Do you have a DHIS2.24 version running because then you can access it from
your dhis server in these location
../dhis-web-commons\javascripts\ext\ext-all.js
../dhis-web-commons\javascripts\plugin/chart.js
../dhis-web-commons\javascripts
Hi Pooben,
Thanks for you answer. The problem is when i click "embed" on a given graph
I get something like this:
http://dhis2-cdn.org/v224/ext/resources/css/ext-plugin-gray.css"; />
http://dhis2-cdn.org/v224/ext/ext-all.js";>
http://dhis2-cdn.org/v224/plugin/chart.js";>
Ext.onRea
Hi Martin
What error are you seeing in the browser console?
can you try this ?
DV.plugin.getChart({
url : base,
el : 'chart1',
type : 'bar',
columns : [ {dimension : 'in',items : [ {id : '?? } ] } ],
rows : [{dimension : 'ou',items : x } ],
filters : [ {dimension : 'pe',items : [ {id : period}
5 matches
Mail list logo