of cource it's possible.
You cann't add point to chart. You can only add point to any series.
If dataProvider for series is ArrayCollection - point automatically will bw shown. If simple Array you should reset dataProvider (series.dataProvider = series.dataProvider).
If you add it to new series you should always after adding call chart.series = chart.series
What problem do you have?
Thanks for your reply, _Natasha_. my series dataProvider is ArrayCollection.
Suppose the series is already show on the chart, all I want to
do is click any data points on the series and drag to a new position.
Do you mean when I drag the data point, i just have to reset the dataProvider?
well, how can I just drag those points on the series while not the entire series?
Thanks a lot!
Get the index no of the item you clicked by adding a eventlistener. From the arraycollection get the object from that position and put it in your desire position in the arraycollection. then assign the arraycollection as the dataprovider to the series.
Hope this helps
Thanks for you guys, I can now drag those points on the series now,
simply add LineChart.dragEnable = true.
How weak i am in flex!!
A new problem now is I want to reset the dataProvide when the drag action
is complete, as I add the dragComplete event for the LineChart, well, How
can I get the new data correspond to the position that my mouse point at?
hopefully i state my question clearly, Thank you!
did you ever solve this problem? i have dragging working but am unsure how to handle the dropping?