Ok, I'm not sure what code you're looking for, so here is the function which I believe is triggering the error. I've edited out as much as I could (things like display settings) to trim it down and here is what remains:
public function makeDateChart(genericChart:CartesianChart,
genericLegend:Legend, chartPanel:ChartPanel,
chart:ChartObject):void {
var axisList:ArrayCollection = chart.getAxisList();
var renderers:ArrayCollection = new ArrayCollection();
var seriesArray:ArrayCollection = new ArrayCollection();
var hAxis:DateTimeAxis = new DateTimeAxis();
// define each axis
for (var i:int=0; i<axisList.length; i++) {
var axis:AxisObject = axisList.getItemAt(i) as
AxisObject;
if (axis.getID() == "x Axis") {
var start:Date = axis.start;
var end:Date = axis.end;
hAxis.labelFunction =
fullTimeLabelFunction;
// more formating of the horizontal axis
var ar:AxisRenderer = new
AxisRenderer();
ar.axis = hAxis;
ar.placement = "bottom";
genericChart.horizontalAxisRenderers = [ar];
genericChart.horizontalAxis =
hAxis;
}
else {
// Define vertical axis
var vAxis:LinearAxis = new
LinearAxis();
vAxis.autoAdjust = true;
vAxis.baseAtZero = false;
genericChart.verticalAxis = vAxis;
vAxis.labelFunction = formatVertLabel;
vAxis.title = axis.title;
// more formatting of the axis
var axr:AxisRenderer = new
AxisRenderer();
axr.axis = vAxis;
for (var j:int=0;
j<axis.getSeriesList().length; j++) {
var ser:SeriesObject =
axis.getSeriesList().getItemAt(j) as SeriesObject;
// define series
if (ser.getPlotType() ==
"Line") {
var
lineSeries:LineSeries = new LineSeries();
BindingUtils.bindProperty(lineSeries, "dataProvider", ser, "pointList");
ser.pointList.addEventListener(CollectionEvent.COLLECTION_CHANGE,updateHandler);
lineSeries.verticalAxis = vAxis;
lineSeries.horizontalAxis = hAxis;
lineSeries.xField="point1";
lineSeries.yField="point2";
lineSeries.verticalAxis
= vAxis;
seriesArray.addItem(lineSeries);
}
}
renderers.addItem(axr);
}
}
genericChart.series = seriesArray.toArray().reverse();
genericChart.verticalAxisRenderers =
renderers.toArray();
genericLegend.dataProvider = genericChart;
chartPanel.horizontalScrollPolicy = "off";
chartPanel.addChild(genericChart);
if (chart.getShowLegend())
chartPanel.addChild(genericLegend);
}

