long baseTime = InventoryChartBaseCalendar.getBaseTime();
    public void setRequisitionValues() {	if(inventory == null) {	    xvalues = new double[nSeries][0];	    yvalues = new double[nSeries][0];	    return;	}	InventoryScheduleHeader schedHeader = (InventoryScheduleHeader)	    inventory.getSchedules().get(reqScheduleName);	ArrayList requisitions = schedHeader.getSchedule();	long baseTime = InventoryChartBaseCalendar.getBaseTime();	schedHeader = (InventoryScheduleHeader) 	    inventory.getSchedules().get(reqARScheduleName);	ArrayList reqARs = schedHeader.getSchedule();   	computeCriticalNValues();	xvalues = new double[nSeries][nValues];	yvalues = new double[nSeries][nValues];	//initZeroYVal(nValues);	for (int i = 0; i < nSeries; i++) {	    for (int j = 0; j < nValues; j++) {		xvalues[i][j] = minDay + (j * bucketDays);		yvalues[i][j] = 0;	    }	}	for(int i=0; i < requisitions.size() ; i++) {	    InventoryTask task = (InventoryTask) requisitions.get(i);	    long endTime = task.getEndTime();	    int endDay = (int) ((endTime - baseTime) / MILLIS_IN_DAY);	    yvalues[0][endDay - minDay]+=task.getQty();	}	    	for(int i=0; i < reqARs.size() ; i++) {	    InventoryAR ar = (InventoryAR) reqARs.get(i);	    if(ar.isSuccess()) {		long endTime = ar.getEndTime();		int endDay = (int) ((endTime - baseTime) / MILLIS_IN_DAY);		yvalues[1][endDay - minDay]+=ar.getQty();	    }	}	    	    	//MWD this is more expensive than it needs to be.	//Cheaper to go through through all InventoryTasks	//take the end time figure which day it goes into	//and sum the value in the array bucket - same for	//ARs - fix tommorow.  Probably don't even need 	//schedules for this.		/***	 ** MWD Remove	 TimeSpanSet reqSchedule = new TimeSpanSet(requisitions);	 TimeSpanSet reqARSchedule = new TimeSpanSet(reqARs);	for(int i=minDay; i<=maxDay ; i+=bucketDays) {	    long startTime = ((i * MILLIS_IN_DAY) + baseTime);	    long endTime = (startTime + (bucketDays * MILLIS_IN_DAY)) - 1;	    Collection reqs = reqSchdule.encapsulatedSet(startTime,endTime);	    Collection reqARs = reqARSchdule.encapsulatedSet(startTime,endTime);	    double totalReqs=0;	    double totalARs=0;	    Iterator it = reqs.iterator();	    while(it.hasNext()) {		totalReqs+=(((InventoryTask) it.next()).getQty());	    }	    it = reqARs.iterator();	    while(it.hasNext()) {		InventoryAR ar = ((InventoryAR) it.next());		if(ar.isSuccess()) {		    totalARs+=ar.getQty();		}	    }	    yvalues[0][i-minDay] = totalReqs;	    yvalues[1][i-minDay] = totalARs;	}	***/    }