I would like to be able to change items/data in a subclassed chart in
response to mouse down/move/up events. Is there a recommended
approach which will allow the display to be updated, w/o data changed.
To illustrate the problem:
Use Ely's qs Chartsampler "CustomAnnotation" and add a simple slide
in/out effect. Now mouse down/move/up on the chart and you will
notice the items begin to "vibrate/slide" while you are moving the
mouse. Then when you mouse up the full (unwanted) slide effect takes
place.
Here is the sample code to swap in the sample:
<SeriesSlide id="slideIn" duration="1000" direction="left"
elementOffset="200" minimumElementDuration="200" />
<SeriesSlide id="slideOut" duration="1000" direction="left"
elementOffset="200" minimumElementDuration="200" />
<PlotChart id="chart" width="100%"
dataProvider="{dataSet.Sample}" height="100%">
<series>
<PlotSeries xField="revenue" yField="costs"
showDataEffect="{slideIn}" hideDataEffect="{slideOut}"
itemRenderer="mx.charts.renderers.CircleItemRenderer" radius="3"/>
</series>
<annotationElements>
<RangeSelector
xmlns="examples.customizing.*" />
</annotationElements>
</PlotChart>