New to Flex and I'm trying to write a custom DataRenderer for an area
chart to programatically set the fill color and add a data label. I
tried extending AreaRenderer but it gave me an error. My first step
in debugging that was to verify that I should in fact be extending
AreaRenderer. In my mxml file I have:
<mx:AreaSeries yField="Field1" displayName="Some Field"
itemRenderer="mx.charts.renderers.AreaRenderer" />
and I get the following error:
ReferenceError: Error #1069: Property filteredCache not found on
mx.charts.series.items.AreaSeriesItem and there is no default value.
at
mx.charts.renderers::AreaRenderer/mx.charts.renderers:AreaRenderer::updateDisplayList()
at mx.skins::ProgrammaticSkin/validateDisplayList()
at mx.managers::LayoutManager/::validateDisplayList()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
What am I doing wrong?
thanks,
Mark Haugen
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/