0
我對asp.net使用的是Fusion Chart Version2.2。當我安裝Flash Player時,網頁運行良好。我可以在不安裝此Flash Player的情況下運行應用程序嗎?我使用FusionCharts.js沒有Flash Player的融合圖表
<script type="text/javascript" language="JavaScript" src="FusionCharts/FusionCharts.js"></script>
我的代碼是在這裏,
//strXML will be used to store the entire XML document generated
string strXML = null;
//Generate the graph element
strXML = @"<graph caption='" + strCaption + @"' subCaption='" + strSubCaption + @"' decimalPrecision='0' pieSliceDepth='30' formatNumberScale='0'
xAxisName='" + xAxis + @"' yAxisName='" + yAxis + @"' rotateNames='1'>";
int i = 0;
foreach (DataRow dr2 in dt.Rows)
{
strXML += "<set name='" + dr2[0].ToString() + "' value='" + dr2[1].ToString() + "' color='" + color[i] + @"' link="JavaScript:myJS('" + dr2["month"].ToString() + ", " + dr2["sales"].ToString() + "'); "/>";
i++;
}
//Finally, close <graph> element
strXML += "</graph>";
FCLiteral1.Text = FusionCharts.RenderChartHTML(
"FusionCharts/FCF_Column3D.swf", // Path to chart's SWF
"", // Leave blank when using Data String method
strXML, // xmlStr contains the chart data
"mygraph1", // Unique chart ID
GraphWidth, GraphHeight, // Width & Height of chart
false
);
我可以使用相同的version2.2或需要升級的版本?
http://www.fusioncharts.com/download/free/是該庫有幫助嗎?它對生命有效嗎? – user2431727
試用或評估版本是免費的我猜想,但對於生產我想你需要購買許可證。你可以查看http://www.fusioncharts.com/buy/ –