[flexcoders] Re: Plot Chart drag drop

2008-01-12 Thread simonjpalmer
http://www.quietlyscheming.com/blog/charts/easy-custom-charts/ --- In flexcoders@yahoogroups.com, nasawebguy [EMAIL PROTECTED] wrote: cool. thanks. didn't find the data canvas? But Ely has some very cool charting samples here http://demo.quietlyscheming.com/ChartSampler/app.html He has a

[flexcoders] Re: Plot Chart drag drop

2008-01-11 Thread nasawebguy
Thank you. How do you covert the where dropped coordinates to data coordinates? I assume by where dropped, you mean x,y coordinates within the chart. and by data coordinates, you mean x,y data in my dataProvider. I guess I need to dig in and understand drop coordinates in the chart. Drag n'

[flexcoders] Re: Plot Chart drag drop

2008-01-11 Thread simonjpalmer
Look at CartesianChart dataToLocal and localToData they convert from a pixel point to a data point and vice versa. If you want to get really clever then Ely Greenfield had a data canvas on his quietlyscheming blog. --- In flexcoders@yahoogroups.com, nasawebguy [EMAIL PROTECTED] wrote: Thank

[flexcoders] Re: Plot Chart drag drop

2008-01-11 Thread nasawebguy
cool. thanks. didn't find the data canvas? But Ely has some very cool charting samples here http://demo.quietlyscheming.com/ChartSampler/app.html He has a mouse handling example that shows how to convert mouse location to data. Looks like what I need to learn, then learn the drag drop side. But,

[flexcoders] Re: Plot Chart drag drop

2008-01-10 Thread simonjpalmer
yes. Write yourself a custom renderer for the data points in your chart which traps the start of the drag. Add drag and drop handlers to your chart. On drop inspect what is being dropped and where the drop happened, convert into data coordinates, update the data accordingly and refresh your