{
string strXML;
SqlDataReader dr = SQLDAL.DBHelper.GetReader(strQuery);
strXML = "<graph caption='" + title + "' subCaption='' decimalPrecision='0' showNames='1' numberSuffix='' pieSliceDepth='30' formatNumberScale='0' baseFontSize='12' >";
while (dr.Read())
{
strXML += "<set name='" + dr[0].ToString() + "' value='" + dr[1].ToString() + "'/>";
}
strXML += "</graph>";
dr.Close();
return FusionCharts.RenderChart("FusionCharts/" + style , "", strXML, "圖表分析", "650", "600", false, false);
}