链接的融合图表 [英] Linked Fusion Charts
问题描述
大家好,
我正在尝试使用Winforms(C#)中的融合图表创建链接图表(下钻图表)。\
但我只能查看父图表。任何人都可以帮我这个吗?
Hi All,
I am trying to create a linked charts (drilldown charts) using fusion charts in Winforms (C#).\
But I could only view the parent chart. Can anyone help me on this?
推荐答案
你好想要有一个简洁的图表如果是的话你必须这样做
public Sub Demo()
hi u want to have clicakble charts if yes then you have to do like this
public Sub Demo()
If classvariable.dataset.Tables("dtgrd").Rows.Count > 0 Then
dtgrd = classvariable.dataset.Tables("dtgrd")
datagrd.DataSource = dtgrd
datagrid = dtgrd
datagrd.DataBind()
datagrd.Visible = False
Else
mymsgbox("No Record Available Between " + Session("FromDate") + " And " + Session("Todate"))
datagrd.Visible = False
End If
Dim strXML As String
strXML = "<graph caption='" + strCaption + "' subCaption='" + strSubCaption + "' XAXISNAME='" + xAxis + "' YAXISNAME='" + yAxis + "' showToolTip='1' showToolTipShadow='1' bgColor='FF5904,FFFFFF' bgRatio='20,80' decimalPrecision='0' defaultAnimation='1' showNames='1' numberSuffix='' pieSliceDepth='30' formatNumberScale='0' bgAlpha='10' rotatenames='1' slantlabels='0' showvalues='1' showAlternateHGridColor='1' AlternateHGridColor='ff5904' divLineColor='ff5904' divLineAlpha= '20' alternateHGridAlpha='5' >"
Dim i As Integer
For i = 0 To classvariable.dataset.Tables("dtgrd").Rows.Count - 1
strXML = strXML & "<set name='" & classvariable.dataset.Tables("dtgrd").Rows(i).Item("AuthorityName").ToString() & "' value= '" & classvariable.dataset.Tables("dtgrd").Rows(i).Item("TotalCertificates").ToString() & "'Link='" & Server.UrlEncode("DetailedGraph.aspx?AuthorityName=" & classvariable.dataset.Tables("dtgrd").Rows(i).Item("AuthorityName").ToString()) & "&TotalCertificates=" & classvariable.dataset.Tables("dtgrd").Rows(i).Item("TotalCertificates").ToString() & "'
/>
下一页
strXML = strXML&
Literal1.Text = FusionCharts.RenderChart(FusionCharts / Column3D.swf,,strXML,FactorySum,900,400,False,True)
结束如果
结束次级
你必须使用链接这个词,因为它在strXml中链接提供了链接Server.url在你希望显示图形的页面上并传递了行(i)项目到相应的图表。如果这不能为你工作,请给我你的代码我将帮助创建相同的图形
谢谢
Pranay
/>"
Next
strXML = strXML & ""
Literal1.Text = FusionCharts.RenderChart("FusionCharts/Column3D.swf", "", strXML, "FactorySum", "900", "400", False, True)
End If
End Sub
you have to use the word Link as it is in the strXml "Link" provides the the link Server.url on whiuch page you want to show the graph and pass the Rows(i) item to the respective graphs .if this cant work for you please give me your code i will help to create the same graph
Thanks
Pranay
谢谢Pranay,
我有一个Windows应用程序,其中有一个按钮。单击它时,将使用shockwaveflash控件显示图表。单击显示的列时,子图表应显示在相同的shockwaveflash控件中。
请从以下链接中找到XML。
http ://www.fusioncharts.com/resources/dev-resources/javascript-linkedcharts-in-asp-net-c-with-fusioncharts-xt/ [ ]
标题:使用数据字符串的LinkedCharts
Hi,
Thanks Pranay,
I have a windows application where there is a button. On clicking it, chart is displayed using shockwaveflash control. On clicking a column shown, child charts should be shown in the same shockwaveflash control.
Please find the XML from the below link.
http://www.fusioncharts.com/resources/dev-resources/javascript-linkedcharts-in-asp-net-c-with-fusioncharts-xt/[]
Heading : LinkedCharts using Data String
这篇关于链接的融合图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!