Subversion Repositories SmartDukaan

Rev

Rev 4932 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4932 Rev 4935
Line 126... Line 126...
126
        		for(int i = 1; i <= dayDiff; i ++)	{
126
        		for(int i = 1; i <= dayDiff; i ++)	{
127
					previousDate = previousDate + 86400000;
127
					previousDate = previousDate + 86400000;
128
					previousrecordDate.add(Calendar.DAY_OF_MONTH, 1);
128
					previousrecordDate.add(Calendar.DAY_OF_MONTH, 1);
129
					graphData.put(previousDate, new Long(0));
129
					graphData.put(previousDate, new Long(0));
130
        		}
130
        		}
-
 
131
    			graphData.put(previousDate, new Long(1));
-
 
132
        	} else	{
131
    			graphData.put(previousDate, graphData.get(previousDate) + 1);
133
    			graphData.put(previousDate, graphData.get(previousDate) + 1);
132
        	}
134
        	}
133
%>			
135
%>			
134
			<tr>
136
			<tr>
135
				<td><%=sdf.format((Date) (result.getProperty("date")))%></td>
137
				<td><%=sdf.format((Date) (result.getProperty("date")))%></td>