Project

General

Profile

« Previous | Next » 

Revision 37784

Added by Eri Katsari almost 9 years ago

updates for funder and context

View differences:

choromap.php
176 176
		}
177 177
		var data = google.visualization.arrayToDataTable(rows);
178 178

  
179
        	var options = {
180
			displayMode: 'auto',
181
			region: '150',
182
			//width: mywidth,
183
			//heigth: myheight,
184
			colors: [0xCED8F6,0x282F93]
185
		};
186
	$("#chart_div").empty();
187
        var chart = new google.visualization.GeoMap(document.getElementById('chart_div'));
188
        chart.draw(data, options);
179
//TODO ERI: changed map type from geoMap to geoChart so that Region 150 ( Europe) includes Russia
180
                var options = {
181
                        displayMode: 'auto',
182
                         region:'150',
183
                         width: mywidth,
184
                        heigth: myheight,
185
                        colors: ['CED8F6','282F93']
186
                };
187
        $("#chart_div").empty();
188
        
189
 
190
var chart = new google.visualization.GeoChart(document.getElementById('chart_div'));
191

  
192
  
193

  
194
      chart.draw(data, options);
189 195
    };
190 196

  
191 197
	function drawToolbar() {

Also available in: Unified diff