I checked the Flex JIRA bugs and found this entry, which might explain the problem: https://bugs.adobe.com/jira/browse/FLEXDMV-1674
--- In [email protected], "k.sigiscar" <k.sigiscar@...> wrote: > > Hi, > > I have a mx:CartesianDataCanvas: > > > <mx:annotationElements> > <mx:CartesianDataCanvas > id="volumeColumnForegroundCanvas" /> > </mx:annotationElements> > > > On which I add some data children programmatically: > > > protected function createDingBats():void > { > // Remove all the data children (dingbats) from the > DataDrawingCanvas in the annotationElements > > volumeColumnForegroundCanvas.removeAllChildren(); > > for each(var dingBatDataItem:EventDTO in > secondDataProvider) > { > var dingBat:DingBat = new DingBat(); > dingBat.dingBatDTO = dingBatDataItem; > > var create:Boolean = false; > > switch(dingBatDataItem.eventType) > { > case "A": > > create = > currentAlertType.chartTypeAlert; > break; > > case "N": > > create = > currentAlertType.chartTypeNewsEvent; > break; > > case "O": > > create = > currentAlertType.chartTypeOrdNexec; > break; > > case "E": > create = > currentAlertType.chartTypeOrdNexec; > } > > if(create) > { > // Add the dingbat to the > CartesianDataCanvas in the annotationElements of the volume column chart > > volumeColumnForegroundCanvas.addDataChild(dingBat, new > CartesianCanvasValue(dingBatDataItem.eventDate), null, null, new > CartesianCanvasValue(0)); > } > } > } > > I also have a DateTimeAxis whose minimum and maximum properties are bound to > values that change when a timeline changes its zoom factor > > <mx:horizontalAxis> > <mx:DateTimeAxis id="tradeVolumesChartHAxis" > > dataUnits="hours" > > labelFunction="{hostComponent.dateLabelFunction}" > > minimum="{hostComponent.startTime}" > > maximum="{hostComponent.endTime}"/> > </mx:horizontalAxis> > > If I change the zoom factor, some of the data children get off range > (normal). But when I scroll right or left or reset the zoom factor, they > don't appear. They vanished. > > Is there something obvious I am missing ? > > Best regards, > Karl. >

