I have a persistent instance of my Flex App which needs to run constantly and recieve data via server push. It displays the latest data via a chart. The charts are defined in ActionScript. Here is a snippet:
var lineSeries:LineSeries = new LineSeries(); BindingUtils.bindProperty(lineSeries, "dataProvider", ser, "pointList"); // pointList is an ArrayCollection lineSeries.xField="point1"; lineSeries.yField="point2"; lineSeries.verticalAxis = vAxis; seriesArray.addItem(lineSeries); chart.series = seriesArray.toArray().reverse(); // chart is an instance of CartesianChart So when I push out the next data to my app, how do I let these lineSeries objects get the new data and redraw the chart?