Does anybody out there know how to use the new IChartElement2.dataToLocal (replaces original dataToLocal)??? I have a PlotChart (id="myPlotChart"). I also have action code that looks like:
var myPoint:Point = myPlotChart.dataToLocal(x_axis_value, y_axis_value);
How do I translate the original dataToLocal to IChartElement2.dataToLocal? I dont see any online examples. The original (myPlotChart.dataToLocal) gives me warnings. Help?
I think I answered my own question (I hope).
var i_chart_series:IChartElement2 =
myPlotSeries as IChartElement2;
at least, that seems to work for me.....
If you read this, dont try my 'solution'. Using the plot series gave me incorrect answers when using IChartElement2. I have since switched back to the 'deprecated' way, which works. Back to the drawing board (Unless one of the experts has an answer???).
I am looking for the same answer for the function localToData(). Anybody???