=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2013-11-12 11:50:21 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-11-12 11:54:22 +0000
@@ -1259,24 +1259,24 @@
el: 'chartB1',
type: 'stackedBar',
columns: [
- {dimension: 'de', items: [{id: 'YtbsuPPo010'}, {id: 'l6byfWFUGaP'}]}
- ],
- rows: [
- {dimension: 'pe', items: [{id: 'LAST_12_MONTHS'}]}
- ],
- filters: [
- {dimension: 'ou', items: [{id: 'USER_ORGUNIT'}]}
- ],
- showTotals: false, // All following options are optional
- showSubTotals: false,
- hideEmptyRows: true,
- showHierarchy: true,
- displayDensity: "comfortable",
- fontSize: "large",
- digitGroupSeparator: "comma",
- legendSet: {id: "BtxOoQuLyg1"}
+ {dimension: 'de', items: [{id: 'YtbsuPPo010'}, {id: 'l6byfWFUGaP'}]}
+ ],
+ rows: [
+ {dimension: 'pe', items: [{id: 'LAST_12_MONTHS'}]}
+ ],
+ filters: [
+ {dimension: 'ou', items: [{id: 'USER_ORGUNIT'}]}
+ ],
+ showTotals: false, // All following options are optional
+ showSubTotals: false,
+ hideEmptyRows: true,
+ showHierarchy: true,
+ displayDensity: "comfortable",
+ fontSize: "large",
+ digitGroupSeparator: "comma",
+ legendSet: {id: "BtxOoQuLyg1"}
});
-;
+};
Finally we include some div elements in the body section of the HTML document with the identifiers referred to in the plug-in Javascript.
<div id="tableA1" class="chart"></div>
<div id="tableB1" class="chart"></div>
@@ -1497,11 +1497,11 @@
{dimension: 'de', items: [{id: 'YtbsuPPo010'}, {id: 'l6byfWFUGaP'}, {id: 's46m5MS0hxu'}]}
],
rows: [
- {dimension: 'pe', items: [{id: 'LAST_12_MONTHS'}]}
+ {dimension: 'pe', items: [{id: 'LAST_12_MONTHS'}]}
],
filters: [
{dimension: 'ou', items: [{id: 'USER_ORGUNIT'}]}
- ],
+ ],
showData: false, // All following options are optional
targetLineValue: 70,
baseLineValue: 20,