"(C" + cDay + ")" +
    public void pick(JCPickEvent e) {	JCDataIndex dataIndex = e.getPickResult();	// check for all the possible failures	if (dataIndex == null) {	    logger.warn("WARNING: dataIndex is null");	    return;	}	ChartDataView chartDataView = dataIndex.getDataView();	if (chartDataView == null) {	    logger.warn("WARNING: chartDataView is null");	    return;	}	int seriesIndex = dataIndex.getSeriesIndex();	int pt = dataIndex.getPoint();	if (pt < 0 || seriesIndex < 0) {     	    logger.warn("WARNING: series or point index is null");	    return;	}		InventoryBaseChartDataModel dataModel = (InventoryBaseChartDataModel) chartDataView.getDataSource();	if (dataModel == null) {	    logger.warn("WARNING: data model is null");	    return;	}		// user has picked a valid point	double[] x = dataModel.getXSeries(seriesIndex);	double[] y = dataModel.getRealYSeries(seriesIndex);	boolean displayCDay=false;	long baseCDayTime = InventoryChartBaseCalendar.getBaseTime();	int cDay;	int dayOfYear;	int daysFromBaseToCDay = (int) ((baseCDayTime - InventoryChartBaseCalendar.getBaseTime())					/ TimeUtils.MSEC_PER_DAY);	if(displayCDay) {	    cDay = ((int)x[pt]);	    dayOfYear = cDay + daysFromBaseToCDay;	} else {	    dayOfYear = ((int)x[pt]);	    cDay = dayOfYear - daysFromBaseToCDay;	}	InventoryChartBaseCalendar tmpC = new InventoryChartBaseCalendar();	tmpC.set(Calendar.YEAR, InventoryChartBaseCalendar.getBaseYear());	tmpC.set(Calendar.DAY_OF_YEAR, dayOfYear);	// add 1 to month as it numbers them from 0	int month = tmpC.get(Calendar.MONTH) + 1;		String time="";	String qty="";	String label = "Date: " + month + "/" +	    tmpC.get(Calendar.DAY_OF_MONTH) + "/" +	    tmpC.get(Calendar.YEAR) + " " +	    //    "(C" + cDay + ")" + time +	    " Quantity: " + JCChartUtil.format(y[pt], 1);		    	//System.out.println("Pick Point is: " + label);	pointLabel.setText(label);        }