{"id":15921,"date":"2017-04-12T13:24:02","date_gmt":"2017-04-12T07:54:02","guid":{"rendered":"http:\/\/www.fusioncharts.com\/blog\/?p=15921"},"modified":"2026-01-20T14:40:41","modified_gmt":"2026-01-20T09:10:41","slug":"rendering-fusioncharts-in-vb-net-and-windows-based-form-applications","status":"publish","type":"post","link":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/","title":{"rendered":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026"},"content":{"rendered":"FusionCharts Suite XT is a straightforward JavaScript charting library that can be integrated into virtually any framework, programming language, or application that generates an <a href=\"https:\/\/www.fusioncharts.com\/fusioncharts\">Interactive Graph<\/a>. VB.NET is a well-known object-oriented programming language based on the.NET framework.\r\n\r\nFor rendering charts created using FusionCharts in VB.NET and Windows-based applications, we can use one of the following three methods:\r\n<ol>\r\n \t<li>Rendering charts by generating the HTML code as a string and passing it to the WebBrowser control.<\/li>\r\n \t<li>Rendering charts by navigating to a local HTML file that contains the chart object.<\/li>\r\n \t<li>Rendering charts by including the FusionCharts ASP.NET server-side wrapper in the project.<\/li>\r\n<\/ol>\r\nIn this post, we&#8217;ll cover up a tutorial that talks about integrating FusionCharts Suite XT with VB.NET and Windows-based form applications.\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Requirements\" title=\"Requirements\">Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Method_1_Rendering_Charts_by_Passing_the_HTML_String_to_the_WebBrowser_Control\" title=\"Method 1: Rendering Charts by Passing the HTML String to the WebBrowser Control\">Method 1: Rendering Charts by Passing the HTML String to the WebBrowser Control<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Steps\" title=\"Steps\">Steps<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Method_2_Rendering_Charts_by_Navigating_to_a_Local_HTML_File\" title=\"Method 2: Rendering Charts by Navigating to a Local HTML File\">Method 2: Rendering Charts by Navigating to a Local HTML File<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Steps-2\" title=\"Steps\">Steps<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Method_3_Rendering_Charts_Using_the_FusionCharts_ASPNET_Wrapper\" title=\"Method 3: Rendering Charts Using the FusionCharts ASP.NET Wrapper\">Method 3: Rendering Charts Using the FusionCharts ASP.NET Wrapper<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Steps-3\" title=\"Steps\">Steps<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#Was_There_a_Problem_Rendering_the_Charts\" title=\"Was There a Problem Rendering the Charts?\">Was There a Problem Rendering the Charts?<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Requirements\"><\/span>Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\nWe need the following applications installed before rendering FusionCharts in VB.NET and Windows-based applications:\r\n<ul>\r\n \t<li>Visual Studio IDE and .NET Framework [<a href=\"https:\/\/www.visualstudio.com\/downloads\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download Link<\/a>]<\/li>\r\n \t<li>FusionCharts Suite XT [<a href=\"https:\/\/www.fusioncharts.com\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download Link<\/a>]<\/li>\r\n<\/ul>\r\n<h2><span class=\"ez-toc-section\" id=\"Method_1_Rendering_Charts_by_Passing_the_HTML_String_to_the_WebBrowser_Control\"><\/span>Method 1: Rendering Charts by Passing the HTML String to the WebBrowser Control<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<h3><span class=\"ez-toc-section\" id=\"Steps\"><\/span>Steps<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<ol>\r\n \t<li>Open Visual Studio. From the <strong> File <\/strong> menu, select <strong> New <\/strong> &gt; <strong> Project <\/strong>.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15926\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png\" alt=\"\" width=\"1363\" height=\"729\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/select-New-Project-1.png 1363w, \/blog\/wp-content\/uploads\/2017\/04\/select-New-Project-1-150x80.png 150w\" sizes=\"auto, (max-width: 1363px) 100vw, 1363px\" \/> The <strong> New Project <\/strong> dialog box opens.<\/li>\r\n \t<li>From <strong> Installed <\/strong> &gt; <strong> Templates <\/strong>, select <strong> Windows Forms Application <\/strong>, as shown in the image below:\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15927\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/new-project-dialog.png\" alt=\"\" width=\"952\" height=\"583\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/new-project-dialog.png 952w, \/blog\/wp-content\/uploads\/2017\/04\/new-project-dialog-150x92.png 150w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/> A form, with the default name <strong> Form1.vb<\/strong>, opens.<\/li>\r\n \t<li>Press <strong> F4 <\/strong> to open the <strong> Properties <\/strong> window.\r\nSet the <strong> Text <\/strong> property to <strong> Rendering FusionCharts<\/strong>, as shown in the image below:\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15928\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/Opening-properties-window-and-selecting-text-properties.png\" alt=\"\" width=\"1366\" height=\"727\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/Opening-properties-window-and-selecting-text-properties.png 1366w, \/blog\/wp-content\/uploads\/2017\/04\/Opening-properties-window-and-selecting-text-properties-150x80.png 150w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/> The <strong> Text <\/strong> property is used to set the form heading.<\/li>\r\n \t<li>Open the <strong> Toolbox<\/strong>.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15929\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/opening-tool-box.png\" alt=\"\" width=\"1363\" height=\"723\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/opening-tool-box.png 1363w, \/blog\/wp-content\/uploads\/2017\/04\/opening-tool-box-150x80.png 150w\" sizes=\"auto, (max-width: 1363px) 100vw, 1363px\" \/><\/li>\r\n \t<li>From the <strong> Toolbox <\/strong>, drag the <strong> WebBrowser <\/strong> control and drop it on the form.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15930\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/dragging-webbrowser-control.png\" alt=\"\" width=\"1366\" height=\"732\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/dragging-webbrowser-control.png 1366w, \/blog\/wp-content\/uploads\/2017\/04\/dragging-webbrowser-control-150x80.png 150w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/li>\r\n \t<li>Add a new folder in the project hierarchy and name it <strong> Scripts<\/strong>.\r\nCopy the <strong> fusioncharts.js <\/strong> and <strong> fusioncharts.charts.js <\/strong> files and paste them into the <strong> Scripts <\/strong>folder.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15931\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/Scripts-folder_Resized.png\" alt=\"\" width=\"320\" height=\"418\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/Scripts-folder_Resized.png 320w, \/blog\/wp-content\/uploads\/2017\/04\/Scripts-folder_Resized-115x150.png 115w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/li>\r\n \t<li>Open <strong> Form1.vb <\/strong> and place the following code within the <strong> Load <\/strong> event handler. The code given below is the complete HTML source that will be stored in the <strong>StringBuilder <\/strong> variable and passed to the <strong> WebBrowser <\/strong> control.\r\n<pre class=\"lang:vbnet\">dim html As New StringBuilder\r\n        html.Append(\"\")\r\n        html.Append(\"\")\r\n        html.Append(\"\")\r\n        html.AppendFormat(\"\", Application.StartupPath.Replace(\"\\\\\", \"\/\"))\r\n        html.Append(\"\")\r\n        html.Append(\"FusionCharts.ready(function () {\")\r\n        html.Append(\"var revenueChart = new FusionCharts({\")\r\n        html.Append(\"type: 'column2d',\")\r\n        html.Append(\"renderAt: 'chart-container',\")\r\n        html.Append(\"width: '500',\")\r\n        html.Append(\"height: '200',\")\r\n        html.Append(\"dataFormat: 'xml',\")\r\n        html.Append(\"dataSource: \"\" &lt;chart caption='Monthly' xAxisName='Month' yAxisName='Revenue' numberPrefix='$' showValues='0'&gt;&lt;set label='Jan' value='420000' \/&gt;&lt;set label='Feb' value='910000' \/&gt;&lt;set label='Mar' value='720000' \/&gt;&lt;set label='Apr' value='550000' \/&gt;&lt;set label='May' value='810000' \/&gt;&lt;set label='Jun' value='510000' \/&gt;&lt;set label='Jul' value='680000' \/&gt;&lt;set label='Aug' value='620000' \/&gt;&lt;set label='Sep' value='610000' \/&gt;&lt;set label='Oct' value='490000' \/&gt;&lt;set label='Nov' value='530000' \/&gt;&lt;set label='Dec' value='330000' \/&gt;&lt;\/chart&gt; \"\" \")\r\n        html.Append(\"});\")\r\n        html.Append(\"revenueChart.render();\")\r\n        html.Append(\"});\")\r\n        html.Append(\"\")\r\n        html.Append(\"\")\r\n        html.Append(\"\")\r\n        html.Append(\"&lt;div id='chart-container' align='center'&gt;&lt;\/div&gt;\")\r\n        html.Append(\"\")\r\n        html.Append(\"\")\r\n        WebBrowser1.DocumentText = html.ToString()\r\n<\/pre>\r\n<\/li>\r\n \t<li>Run the application. Your output should look as shown in the image below:\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15932\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/Chart-from-Static-string.png\" alt=\"\" width=\"845\" height=\"479\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/Chart-from-Static-string.png 845w, \/blog\/wp-content\/uploads\/2017\/04\/Chart-from-Static-string-150x85.png 150w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/li>\r\n<\/ol>\r\n<h2><span class=\"ez-toc-section\" id=\"Method_2_Rendering_Charts_by_Navigating_to_a_Local_HTML_File\"><\/span>Method 2: Rendering Charts by Navigating to a Local HTML File<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<h3><span class=\"ez-toc-section\" id=\"Steps-2\"><\/span>Steps<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<ol>\r\n \t<li>Create an HTML file in the root folder of the project and name it <strong> HTMLPage1.html<\/strong>.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15937\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/creating-html-page_Resized.png\" alt=\"\" width=\"320\" height=\"432\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/creating-html-page_Resized.png 320w, \/blog\/wp-content\/uploads\/2017\/04\/creating-html-page_Resized-111x150.png 111w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/li>\r\n \t<li>Copy the following code in the <strong> HTMLPage1.html <\/strong> file:\r\n<pre class=\"lang:markup\">&lt;!DOCTYPE html&gt;\r\n\r\n&lt;html lang=\"en\" xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head&gt;\r\n    &lt;meta charset=\"utf-8\" \/&gt;\r\n    &lt;title&gt;Rendering FusionCharts&lt;\/title&gt;\r\n    &lt;script src=\"https:\/\/static.fusioncharts.com\/code\/latest\/fusioncharts.js\"&gt;&lt;\/script&gt;\r\n\r\n    &lt;script&gt;\r\n\r\n        FusionCharts.ready(function () {\r\n            var cSatScoreChart = new FusionCharts({\r\n                type: 'angulargauge',\r\n                renderAt: 'chart-container',\r\n                width: '400',\r\n                height: '300',\r\n                dataFormat: 'json',\r\n                dataSource: {\r\n                    \"chart\": {\r\n                        \"caption\": \"Average Customer Satisfaction Score\",\r\n                        \"subcaption\": \"Last year vs Current year\",\r\n                        \"lowerLimit\": \"0\",\r\n                        \"upperLimit\": \"100\",\r\n                        \"gaugeFillMix\": \"{dark-40},{light-40},{dark-20}\",\r\n                        \"theme\": \"fint\",\r\n                        \"majorTMAlpha\": \"0\",\r\n                        \"minorTMAlpha\": \"0\"\r\n                    },\r\n                    \"colorRange\": {\r\n                        \"color\": [\r\n                            {\r\n                                \"minValue\": \"0\",\r\n                                \"maxValue\": \"50\",\r\n                                \"code\": \"#e44a00\"\r\n                            },\r\n                            {\r\n                                \"minValue\": \"50\",\r\n                                \"maxValue\": \"75\",\r\n                                \"code\": \"#f8bd19\"\r\n                            },\r\n                            {\r\n                                \"minValue\": \"75\",\r\n                                \"maxValue\": \"100\",\r\n                                \"code\": \"#6baa01\"\r\n                            }\r\n                        ]\r\n                    },\r\n                    \"dials\": {\r\n                        \"dial\": [\r\n\r\n                            {\r\n                                \"value\": \"78\",\r\n                                \"showValue\": \"1\",\r\n\r\n                                \"tooltext\": \"Current year's average : $value\",\r\n                                \"rearExtension\": \"15\"\r\n                            }\r\n                        ]\r\n                    }\r\n                }\r\n            }).render();\r\n        });\r\n    &lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n    &lt;div id=\"chart-container\"&gt;FusionCharts will render here&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\r\n<\/li>\r\n \t<li>Add the code given below in the <strong> Load <\/strong> event handler of the form:\r\n<pre>WebBrowser1.Navigate(AppDomain.CurrentDomain.BaseDirectory.Replace(\"bin\\Debug\\\", \"HTMLPage1.html\"))\r\n<\/pre>\r\n<\/li>\r\n \t<li>Run the application. Your output should look as shown in the image below:\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15942\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/rendering-by-embedding-html.png\" alt=\"\" width=\"969\" height=\"543\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/rendering-by-embedding-html.png 969w, \/blog\/wp-content\/uploads\/2017\/04\/rendering-by-embedding-html-150x84.png 150w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/li>\r\n<\/ol>\r\n<h2><span class=\"ez-toc-section\" id=\"Method_3_Rendering_Charts_Using_the_FusionCharts_ASPNET_Wrapper\"><\/span>Method 3: Rendering Charts Using the FusionCharts ASP.NET Wrapper<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<h3><span class=\"ez-toc-section\" id=\"Steps-3\"><\/span>Steps<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<ol>\r\n \t<li>Add a reference of the <strong> fusioncharts.dll <\/strong> file to the project to include the FusionCharts ASP.NET wrapper.\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15944\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/add-reference-dialog.png\" alt=\"\" width=\"798\" height=\"550\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/add-reference-dialog.png 798w, \/blog\/wp-content\/uploads\/2017\/04\/add-reference-dialog-150x103.png 150w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/li>\r\n \t<li>Copy the code given below in the <strong> Load <\/strong> event handler of the form:\r\n<pre class=\"lang:vbnet\">Imports System.Text\r\nImports FusionCharts.Charts\r\n\r\nPublic Class Form1\r\n    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load\r\n\r\n\r\n        Dim Data As String\r\n        Data = \"&lt;chart caption='Sales of Liquor' subcaption='Last week' xaxisname='Day' yaxisname='Sales (In USD)' numberprefix='$' palettecolors='#0075c2' bgcolor='#ffffff' showborder='0' showcanvasborder='0' plotborderalpha='10' useplotgradientcolor='0' plotfillalpha='50' showxaxisline='1' axislinealpha='25' divlinealpha='10' showvalues='1' showalternatehgridcolor='0' captionfontsize='14' subcaptionfontsize='14' subcaptionfontbold='0' tooltipcolor='#ffffff' tooltipborderthickness='0' tooltipbgcolor='#000000' tooltipbgalpha='80' tooltipborderradius='2' tooltippadding='5'&gt;&lt;set label='Mon' value='4123' \/&gt;&lt;set label='Tue' value='4633' \/&gt;&lt;set label='Wed' value='5507' \/&gt;&lt;set label='Thu' value='4910' \/&gt;&lt;set label='Fri' value='5529' \/&gt;&lt;set label='Sat' value='5803' \/&gt;&lt;set label='Sun' value='6202' \/&gt;&lt;\/chart&gt;\"\r\n\r\n        Dim factoryOutput As New Chart(\"area2d\", \"myChart\", \"600\", \"350\", \"xml\", Data)\r\n        Dim Total As New StringBuilder\r\n\r\n        Total.Append(\"&lt;html xmlns='https:\/\/www.w3.org\/1999\/xhtml'&gt;\")\r\n        Total.Append(\"&lt;head&gt;\")\r\n        Total.Append(\"&lt;meta http-equiv='Content-Type' content='text\/html; charset=UTF-8' \/&gt;\")\r\n        Total.AppendFormat(\"&lt;script type='text\/javascript' src='https:\/\/static.fusioncharts.com\/code\/latest\/fusioncharts.js?cacheBust=8232'&gt;&lt;\/script&gt;\", Application.StartupPath.Replace(\"\\\\\", \"\/\"))\r\n        Total.Append(\"&lt;body&gt;\")\r\n\r\n\r\n        Dim chartdata As String\r\n\r\n\r\n        chartdata = factoryOutput.Render()\r\n\r\n\r\n        Total.Append(chartdata)\r\n        Total.Append(\"&lt;\/body&gt;\")\r\n        Total.Append(\"&lt;\/html&gt;\")\r\n\r\n        WebBrowser1.DocumentText = Total.ToString()\r\n\r\n\r\n    End Sub\r\nEnd Class<\/pre>\r\n<\/li>\r\n \t<li>Run the application. Your output should look as shown in the image below:\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15946\" src=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/final-output-by-using-wrapper.png\" alt=\"\" width=\"863\" height=\"505\" srcset=\"\/blog\/wp-content\/uploads\/2017\/04\/final-output-by-using-wrapper.png 863w, \/blog\/wp-content\/uploads\/2017\/04\/final-output-by-using-wrapper-150x88.png 150w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/li>\r\n<\/ol>\r\nIf you find any difficulty in rendering the chart or you see any error in your code, click <a href=\"https:\/\/www.dropbox.com\/s\/ei68wojn3llssnp\/chart%20demo%20in%20windows%20application%20VB.zip?dl=0\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> to download the complete source code of the sample project we have created for this tutorial.\r\n<h2><span class=\"ez-toc-section\" id=\"Was_There_a_Problem_Rendering_the_Charts\"><\/span>Was There a Problem Rendering the Charts?<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\nIn case something went wrong, and you are unable to see the chart, check for the following:\r\n<ul>\r\n \t<li>The chart ID should be unique for all charts rendered on the same page. Otherwise, it will result in a JavaScript error.<\/li>\r\n \t<li>If the chart does not show up, check if the <strong>fusioncharts.js<\/strong> and FusionCharts wrapper <strong>FusionCharts.java<\/strong> were loaded. Also, check if the path to the <strong>fusioncharts.js<\/strong> and the <strong>FusionCharts.java<\/strong> files is correct and whether the files exist in that location.<\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>FusionCharts Suite XT is a straightforward JavaScript charting library that can be integrated into virtually any framework, programming language, or application that generates an Interactive Graph. VB.NET is a well-known object-oriented programming language based on the.NET framework. For rendering charts created using FusionCharts in VB.NET and Windows-based applications, we can use one of the following [&hellip;]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"coauthors":[652,650],"class_list":["post-15921","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rendering FusionCharts in VB.NET and Windows Form Applications 2026<\/title>\n<meta name=\"description\" content=\"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rendering FusionCharts in VB.NET and Windows Form Applications 2026\" \/>\n<meta property=\"og:description\" content=\"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\" \/>\n<meta property=\"og:site_name\" content=\"FusionBrew - The FusionCharts Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-12T07:54:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-20T09:10:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/2017\/04\/select-New-Project-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1363\" \/>\n\t<meta property=\"og:image:height\" content=\"729\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nikita Jhanglani, Soumya Dutta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikita Jhanglani, Soumya Dutta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\/\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"Article\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Nikita Jhanglani\",\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/270a83f8aefb80dafb2a931de0282717\"\n\t            },\n\t            \"headline\": \"Rendering FusionCharts in VB.NET and Windows Form Applications 2026\",\n\t            \"datePublished\": \"2017-04-12T07:54:02+00:00\",\n\t            \"dateModified\": \"2026-01-20T09:10:41+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\"\n\t            },\n\t            \"wordCount\": 581,\n\t            \"commentCount\": 1,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png\",\n\t            \"articleSection\": [\n\t                \"Tutorials\"\n\t            ],\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"CommentAction\",\n\t                    \"name\": \"Comment\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#respond\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\",\n\t            \"url\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\",\n\t            \"name\": \"Rendering FusionCharts in VB.NET and Windows Form Applications 2026\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png\",\n\t            \"datePublished\": \"2017-04-12T07:54:02+00:00\",\n\t            \"dateModified\": \"2026-01-20T09:10:41+00:00\",\n\t            \"description\": \"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage\",\n\t            \"url\": \"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png\",\n\t            \"contentUrl\": \"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png\"\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Home\",\n\t                    \"item\": \"https:\/\/www.fusioncharts.com\/blog\/\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"Rendering FusionCharts in VB.NET and Windows Form Applications 2026\"\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#website\",\n\t            \"url\": \"https:\/\/www.fusioncharts.com\/blog\/\",\n\t            \"name\": \"FusionBrew - The FusionCharts Blog\",\n\t            \"description\": \"Get tips and tricks on how to build effective Data Visualisation using FusionCharts\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\/\/www.fusioncharts.com\/blog\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#organization\",\n\t            \"name\": \"FusionCharts\",\n\t            \"url\": \"https:\/\/www.fusioncharts.com\/blog\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/logo\/image\/\",\n\t                \"url\": \"\/blog\/wp-content\/uploads\/2020\/03\/idera-fc-logo.svg\",\n\t                \"contentUrl\": \"\/blog\/wp-content\/uploads\/2020\/03\/idera-fc-logo.svg\",\n\t                \"width\": 1,\n\t                \"height\": 1,\n\t                \"caption\": \"FusionCharts\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/logo\/image\/\"\n\t            }\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/270a83f8aefb80dafb2a931de0282717\",\n\t            \"name\": \"Nikita Jhanglani\",\n\t            \"image\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/image\/8ccbb6c1287de762e6e06a7da1088fe5\",\n\t                \"url\": \"\/blog\/wp-content\/wphb-cache\/gravatar\/6ea\/6ea57614eecc7c184539f84654fd9592x96.jpg\",\n\t                \"contentUrl\": \"\/blog\/wp-content\/wphb-cache\/gravatar\/6ea\/6ea57614eecc7c184539f84654fd9592x96.jpg\",\n\t                \"caption\": \"Nikita Jhanglani\"\n\t            },\n\t            \"url\": \"https:\/\/www.fusioncharts.com\/blog\/author\/nikita-jhanglani\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026","description":"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/","og_locale":"en_US","og_type":"article","og_title":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026","og_description":"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.","og_url":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/","og_site_name":"FusionBrew - The FusionCharts Blog","article_published_time":"2017-04-12T07:54:02+00:00","article_modified_time":"2026-01-20T09:10:41+00:00","og_image":[{"width":1363,"height":729,"url":"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/2017\/04\/select-New-Project-1.png","type":"image\/png"}],"author":"Nikita Jhanglani, Soumya Dutta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nikita Jhanglani, Soumya Dutta","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#article","isPartOf":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/"},"author":{"name":"Nikita Jhanglani","@id":"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/270a83f8aefb80dafb2a931de0282717"},"headline":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026","datePublished":"2017-04-12T07:54:02+00:00","dateModified":"2026-01-20T09:10:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/"},"wordCount":581,"commentCount":1,"publisher":{"@id":"https:\/\/www.fusioncharts.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/","url":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/","name":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026","isPartOf":{"@id":"https:\/\/www.fusioncharts.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage"},"image":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png","datePublished":"2017-04-12T07:54:02+00:00","dateModified":"2026-01-20T09:10:41+00:00","description":"Integrate FusionCharts into any framework. Our straightforward 2026 library works with virtually any programming language. Build charts for any tech stack.","breadcrumb":{"@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#primaryimage","url":"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png","contentUrl":"https:\/\/www.fusioncharts.com\/blog\/wp-content\/uploads\/gallery\/blog\/2017\/04\/select-New-Project-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fusioncharts.com\/blog\/rendering-fusioncharts-in-vb-net-and-windows-based-form-applications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fusioncharts.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Rendering FusionCharts in VB.NET and Windows Form Applications 2026"}]},{"@type":"WebSite","@id":"https:\/\/www.fusioncharts.com\/blog\/#website","url":"https:\/\/www.fusioncharts.com\/blog\/","name":"FusionBrew - The FusionCharts Blog","description":"Get tips and tricks on how to build effective Data Visualisation using FusionCharts","publisher":{"@id":"https:\/\/www.fusioncharts.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fusioncharts.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fusioncharts.com\/blog\/#organization","name":"FusionCharts","url":"https:\/\/www.fusioncharts.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/logo\/image\/","url":"\/blog\/wp-content\/uploads\/2020\/03\/idera-fc-logo.svg","contentUrl":"\/blog\/wp-content\/uploads\/2020\/03\/idera-fc-logo.svg","width":1,"height":1,"caption":"FusionCharts"},"image":{"@id":"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/270a83f8aefb80dafb2a931de0282717","name":"Nikita Jhanglani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fusioncharts.com\/blog\/#\/schema\/person\/image\/8ccbb6c1287de762e6e06a7da1088fe5","url":"\/blog\/wp-content\/wphb-cache\/gravatar\/6ea\/6ea57614eecc7c184539f84654fd9592x96.jpg","contentUrl":"\/blog\/wp-content\/wphb-cache\/gravatar\/6ea\/6ea57614eecc7c184539f84654fd9592x96.jpg","caption":"Nikita Jhanglani"},"url":"https:\/\/www.fusioncharts.com\/blog\/author\/nikita-jhanglani\/"}]}},"_links":{"self":[{"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/posts\/15921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/comments?post=15921"}],"version-history":[{"count":0,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/posts\/15921\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/media?parent=15921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/categories?post=15921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/tags?post=15921"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.fusioncharts.com\/blog\/wp-json\/wp\/v2\/coauthors?post=15921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}