Winform中的融合图 [英] Fusion Chart in winform

查看:83
本文介绍了Winform中的融合图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

我正在开发C Sharp Windows应用程序,

我必须使用融合图显示类别与类别值的图.

并且我的类别数是动态的(来自数据库).

请给我解决方法.

谢谢...

Hellow Sir,

I am developing c sharp windows application,

I have to display graph of category vs category value using fusion chart.

and my number of categories are dynamic(from database).

please give me solution.

thanks...

推荐答案

http://forum.fusioncharts.com/ [^ ]

您是否尝试过阅读此链接提供的文档,或在其论坛中发布了?
http://forum.fusioncharts.com/[^]

Have you tried reading the documentation provided with this link, or posting in their forum?


谢谢您的提示.
但不起作用
Thanks you sir for u r hint.
but it is not working


通过此链接

http://www.codeproject.com/KB/web-image/FusionChartsHelperClass.aspx
................................................... ....................................

受保护的无效btnShow_Click(对象发送者,EventArgs e)
{
FusionPieChart pieChart =新的FusionPieChart();
pieChart.showNames = true;
pieChart.showPercentageInLabel = true;
pieChart.showPercentageValues = false;
字符串chartHtml = pieChart.CreateSetElement(BuildData(),FusionPieChart.Pie3D,
divPieChart.ClientID,名称",值",
"text","id","test.aspx?id =",true,600,400);
divPieChart.InnerHtml = chartHtml;

FusionLineChart lineChart =新的FusionLineChart();
//chartHtml = lineChart.CreateSetElememtForTrendChart(BuildData(),
divLineChart.ClientID,名称",值",100,100);
chartHtml = lineChart.CreateSetElement(BuildData(),FusionLineChart.Line2D,
divLineChart.ClientID,false,",名称",
"value","text","id",",true,600、400);
divLineChart.InnerHtml = chartHtml;
}
go thru this link

http://www.codeproject.com/KB/web-image/FusionChartsHelperClass.aspx
............................................................................

protected void btnShow_Click(object sender, EventArgs e)
{
FusionPieChart pieChart = new FusionPieChart();
pieChart.showNames = true;
pieChart.showPercentageInLabel = true;
pieChart.showPercentageValues = false;
string chartHtml = pieChart.CreateSetElement(BuildData(), FusionPieChart.Pie3D,
divPieChart.ClientID, "name", "value",
"text", "id", "test.aspx?id=", true, 600, 400);
divPieChart.InnerHtml = chartHtml;

FusionLineChart lineChart = new FusionLineChart();
//chartHtml = lineChart.CreateSetElememtForTrendChart(BuildData(),
divLineChart.ClientID, "name", "value", 100, 100);
chartHtml = lineChart.CreateSetElement(BuildData(), FusionLineChart.Line2D,
divLineChart.ClientID, false, "", "name",
"value", "text", "id", "", true, 600, 400);
divLineChart.InnerHtml = chartHtml;
}


这篇关于Winform中的融合图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆