shawnyale
unread,Oct 26, 2010, 12:02:07 PM10/26/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BirdEye
I'm still using NG branch:
I have the following code:
<coords:Polar id="rd" collisionType="stack" styleName="Polar"
dataProvider="{myDataProvider}"
width="100%" height="95%" layout="radar"
dataTipFunction="radarDataTip" >
<coords:scales>
<scales:CategoryAngle id="c" direction="positive"
shareSubScale="true" categoryField="Tag"
subScale="birdeye.vis.scales.Linear"/>
</coords:scales>
<coords:guides>
<axis:MultiAxis subScale="{c}" />
</coords:guides>
<coords:elements>
<geometry:AreaElement id="aeRating" styleName="grad1" scale1="{c}"
form="curve"
dim1="Tag" dim2="Score"
graphicRenderer="birdeye.vis.guides.renderers.CircleRenderer" />
</coords:elements>
</coords:Polar>
whose dataProvider is being populated in an result event from the web
service. The problem is that if the service returns no data(we have a
process where this could occur), the chart axes are disappearing but
the previous graph layer is not. Each time the web service returns a
result, I'm setting the dataProvider property = null on the Polar
Chart. So I end up with the neat little curved shape from the
previous chart, except no axis. I was hoping that if there was no
data, the entire graph would disappear.
I've tried:
rd.dataProvider = null;
rd.invalidateDisplayList();
rd.validateNow();
rd.clearAll();
and other attemtps to clear the previous shape without success.
Any help would be GREATLY appreciated.