• Content count

  • Joined

  • Last visited

About gt_cristian

  • Rank
    Forum Newbie
  1. Hi all, I managed to code the following method that generates a chart in the desired panel. It is a Column2D chart that displays the data from an array. Dim strXML As New StringBuilder() Dim i As Integer Dim outPut As String = "" If (chart = "column2D") ThenstrXML.Append( "<chart caption='" & title & "' showborder='0' bgalpha='0' subcaption='' xAxisName='" & x & "' yAxisName='" & y & "' rotateLabels='1' placeValuesInside='1' rotateValues='1' param name='wmode' value='Opaque'> >") For i = 0 To (data.Length - 1)strXML.Append( "<set label='" & labels(i) & "' value='" & data(i) & "'/>") Next i strXML.Append("</chart>") If IsPostBack = True ThenoutPut = FusionCharts.RenderChartHTML( "FusionCharts/Column2D.swf", "", strXML.ToString(), "chart2", "430", "300", False, True, True) Else outPut = FusionCharts.RenderChart("FusionCharts/Column2D.swf", "", strXML.ToString(), "chart2", "430", "300", False, True, True) End If I would like to add links to this chart such that when I click on a column I update another chart by calling a similar method. I dont know how to dynamically generate charts from javascript, so I chose doing it from VB. How can I add links to triger a VB sub?Thanks in advance. Have a great weekend. Chris.