Blank chart when no data

Help
Mad Eddie
2013-10-14
2013-10-14
  • Mad Eddie
    Mad Eddie
    2013-10-14

    I am using swfobject.embedswf with a data-file attribute to collect the chart data I wish to display. I am looking to display a pie chart but sometimes all the values are 0 (as there is no data to return). When this happens the chart is blank and has only the title present. Is there a way to trap this?