Problem solved! My brain is definitely burned out, but I guess thats expected...
So this is the deal - If you have a pie chart that looks messed up like the one below it's most likely due to the fact your trying to plot something with a value of 0. Simple math proves that a pie slice can't be a percentage of nothing (0) - so we are left with this nasty looking blob. Hopefully in the future flex charting will be smart enough to catch this. Until then we have to screen our data better! --- In [email protected], "phipzkillah" <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a pie chart (could have fooled be based on the output!) that is > being displayed incorrectly, as you can see below. > > > > The datagrid view is correct: > > > > Here is my mxml: > <mx:PieChart id="pieDP" showDataTips="true" width="100%" height="100%" > dataProvider="{_dpXMLList}" > itemClick="explodeSlice(event.hitData.item)" > doubleClickEnabled="true" > itemDoubleClick="changeView(event.hitData.item)" > dataTipFunction="formatDataTip" > resizeEffect="{resize}"> > > <mx:series> > <mx:Array> > <mx:PieSeries id="ps" field="@totalDevices" > nameField="@name" > labelPosition="callout" > labelFunction="getSliceLabel" > showDataEffect="{interpolate}" > fills="{pieColors}"> > </mx:PieSeries> > </mx:Array> > </mx:series> > </mx:PieChart> > > Here is the result of tracing my dataProvider: > <devicePool name="BACKUP2" totalDevices="0" totalRegDevices="0"> > <srstReference>Disable</srstReference> > <registeredPhones>0</registeredPhones> > <registeredCTIPorts>0</registeredCTIPorts> > <registeredGateways>0</registeredGateways> > <registeredMediaDevices>0</registeredMediaDevices> > <registeredVmailPorts>0</registeredVmailPorts> > <totalPhones>1</totalPhones> > <totalCTIPorts>0</totalCTIPorts> > <totalGateways>0</totalGateways> > <totalMediaDevices>0</totalMediaDevices> > <totalVmailPorts>0</totalVmailPorts> > </devicePool> > > The piechart's dataProvider is set based on what leaf of a tree is > selected in another panel. My pie chart displays correctly for other > leafs, but this leaf always produces a 'broken' pie chart. I have > compared the chart's dataProvider values for other leafs selected and I > can't seem to figure out why this is breaking here. > > Is this a bug in Flex Charting? > > -phil >

