Imports InfoSoftGlobal Partial Class BasicExample_dataXML Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Generate chart in Literal Control FCLiteral.Text = CreateChart() End Sub Public Function CreateChart() As String 'This page demonstrates the ease of generating charts using FusionCharts. 'For this chart, we've used a string variable to contain our entire XML data. 'Ideally, you would generate XML data documents at run-time, after interfacing with 'forms or databases etc.Such examples are also present. 'Here, we've kept this example very simple. 'Create an XML data document in a string variable Dim strXML As String strXML = "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" strXML = strXML & "" 'Create the chart - Column 3D Chart with data from strXML variable using dataXML method Return FusionCharts.RenderChart("../FusionCharts/FCF_Column3D.swf", "", strXML, "myNext", "600", "300", False, False) End Function End Class