This content has been marked as final. Show 3 replies
Piechart is percentage based. So if an element is not present you can add zero as substitution.
you can specify fills and have the stroke in the order the element would appear.
Look at the example http://blog.flexexamples.com/2007/11/07/creating-custom-fills-in-a-flex-piechart-control-u sing-the-fillfunction-property/
So are you saying to always have the same number of 'pies' in the chart in the same order and then I could specify the fills for the specific order, and if I don't want a particular one, if the value is 0 then it wont show up? That is what I think your getting at, that may work, but the legend may still try and display those items.
For the example you displayed, that is for Flex3 right? I'm using Flex2 right now, is there something I could do with the custom fill function in Flex2?
Thanks for your Help!
Yes ones with 0 value won't show up.
You can do the same in flex 2 also I believe. Look for fills property on PieSeries.