Is there any way to force Flex to draw empty PieChart when all data in the PieSeries equals 0. The result I’m getting now is just a blank space in the place where my chart is supposed to be.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably not exactly what you want, but the example below will give you an empty orange chart, with a single legend entry labeled Empty (you probably want to keep the full Legend).
Disable the labels and datatips, and when all values are set to zero, run a function to alter the dataProvider (the code below might be of some help)