← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5837: (DV) Style fixes.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 5837 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-01-31 14:42:12 +0100
message:
  (DV) Style fixes.
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	2012-01-31 10:55:15 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/app.js	2012-01-31 13:40:37 +0000
@@ -623,11 +623,17 @@
 							fields: stacked ? DV.state.series.names : DV.store.chart.range,
 							label: DV.util.chart.default.label.getNumeric(),
 							grid: {
+								odd: {
+									opacity: 1,
+									fill: '#fefefe',
+									stroke: '#aaa',
+									'stroke-width': 0.1
+								},									
 								even: {
 									opacity: 1,
 									fill: '#f1f1f1',
 									stroke: '#aaa',
-									'stroke-width': 0.2
+									'stroke-width': 0.1
 								}
 							}
 						};
@@ -669,7 +675,7 @@
 							yField: DV.conf.finals.data.targetline,
 							style: {
 								opacity: 1,
-								'stroke-width': 2
+								lineWidth: 2
 							},
 							markerConfig: {
 								type: 'circle',
@@ -686,7 +692,7 @@
 							yField: DV.conf.finals.data.trendline,
 							style: {
 								opacity: 1,
-								'stroke-width': 2
+								lineWidth: 2
 							},
 							markerConfig: {
 								type: 'circle',
@@ -747,7 +753,7 @@
 								yField: DV.state.series.names[i],
 								style: {
 									opacity: 0.8,
-									'stroke-width': 3
+									lineWidth: 3
 								},
 								markerConfig: {
 									type: 'circle',
@@ -1466,7 +1472,8 @@
 				yField: DV.state.series.names,
 				stacked: stacked,
 				style: {
-					opacity: 0.8
+					opacity: 0.8,
+					stroke: '#333'
 				}
 			});
 			if (DV.state.targetLineValue && !stacked) {
@@ -1495,7 +1502,8 @@
 				yField: DV.state.series.names,
 				stacked: stacked,
 				style: {
-					opacity: 0.8
+					opacity: 0.8,
+					stroke: '#333'
 				}
 			});
 			if (DV.state.targetLineValue && !stacked) {
@@ -1539,7 +1547,8 @@
 				xField: DV.conf.finals.data.domain,
 				yField: DV.state.series.names,
 				style: {
-					opacity: 0.65
+					opacity: 0.65,
+					stroke: '#555'
 				}
 			});
 			
@@ -1572,7 +1581,8 @@
                         }
                     },
                     style: {
-                        opacity: 0.9
+                        opacity: 0.9,
+						stroke: '#555'
                     }
                 }],
                 theme: 'dv1'