Skip to content

Commit

Permalink
year range 2005 - 2011
Browse files Browse the repository at this point in the history
  • Loading branch information
naserp committed Aug 16, 2011
1 parent 249a190 commit e84453e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MyChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@
var currentyearpage = 0;
var ystep = 0;

randomGen2(valuelist, 500);
districtArray(valuelist, 500);
randomGen2(valuelist, 1000);
districtArray(valuelist, 1000);
normalize(valuelistYearN);

function randomGen2(array , count) {
for(var i=0;i<count;i++) {
var tempyear = 2005 + Math.floor(Math.random() * 4);
var tempyear = 2005 + Math.floor(Math.random() * 7);
var tempmonth = Math.floor(Math.random() * 12);
var tempday = Math.floor(Math.random() * 31);
var temphour = Math.floor(Math.random() * 24);
Expand Down

0 comments on commit e84453e

Please sign in to comment.