I learned that showDataEffect is a style not a property from Ely's
post (http://tech.groups.yahoo.com/group/flexcoders/message/49710)
Now I can't figure out the correct way to set it.
Here's what I've tried:
mxml:
<mx:SeriesInterpolate id="interpolate" elementOffset="10"/>
script:
var myLineSeries:LineSeries = new LineSeries()
myLineSeries.dataProvider = graphData.getItemAt(0)
myLineSeries.yField = "marginDollars"
myLineSeries.xField = "dateTime"
myLineSeries.setStyle("showDataEffect", interpolate)
chart.series = [myLineSeries]
That didn't work, so I added this code:
var myInterpolate:SeriesInterpolate = new SeriesInterpolate()
myLineSeries.setStyle("showDataEffect", myInterpolate)
no joy...so i tried it like this too, even though it didn't make sense
to me:
myLineSeries.setStyle("showDataEffect", "interpolate")
surprise surprise, that didn't work either!
Any help is greatly appreciated!
Thanks,
Nate