I am using fusion chart for rendering pie chart. In some scenario all the values passing to the graph string will be zero. That is returning the chart in a wrong way instead of showing no data to display. the following is the graph tag I am using.
Int PendingAmount =0;
Int PaidAmount =0;
"<graph showNames=\"1\" bgAlpha=\"0,0\" numberPrefix=\"Rs. \" decimalPrecision=\"0\"><set name=\"Paid\" value=\"" + PendingAmount + "\" color=\"A4CFD7\"/> <set name=\"Pending\" value=\"" + PaidAmount + "\" color=\"58A1C7\" /></graph>";
This is how the graph is displayed.