← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5158: Minor fix.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 5158 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-11-14 19:19:15 +0000
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js	2011-11-11 19:05:43 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js	2011-11-14 19:05:18 +0000
@@ -47,6 +47,15 @@
             pie: 'pie'
         }
     },
+    chart: {
+        axis: {
+            label: {
+                rotate: {
+                    degrees: 330
+                }
+            }
+        }
+    },
     style: {
         label: {
             period_group: 'font:bold 11px arial; color:#444; line-height:20px'
@@ -774,7 +783,8 @@
                         title: DV.init.isInit ? 'Categories' : DV.conf.finals.dimension[DV.state.category.dimension].rawvalue,
                         type: 'Category',
                         position: 'bottom',
-                        fields: DV.store.chart.bottom
+                        fields: DV.store.chart.bottom,
+                        label: DV.conf.chart.axis.label
                     }
                 ],
                 series: [
@@ -864,7 +874,8 @@
                         title: DV.conf.finals.dimension[DV.state.category.dimension].rawvalue,
                         type: 'Category',
                         position: 'bottom',
-                        fields: DV.store.chart.bottom
+                        fields: DV.store.chart.bottom,
+                        label: DV.conf.chart.axis.label
                     }
                 ],
                 series: DV.util.chart.line.getSeriesArray()
@@ -895,7 +906,8 @@
                         title: DV.conf.finals.dimension[DV.state.category.dimension].rawvalue,
                         type: 'Category',
                         position: 'bottom',
-                        fields: DV.store.chart.bottom
+                        fields: DV.store.chart.bottom,
+                        label: DV.conf.chart.axis.label
                     }
                 ],
                 series: [{