ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Web page displaying Empty Pie Chart for dynamic values in ASP.Net<p>in page load code as follows</p> <pre class="brush: csharp"> DataTable _objdt = new DataTable(); _objdt = GetDataForChart(); BindDataToChartcontrol(_objdt); public void BindDataToChartcontrol(DataTable _objdt) { Chart1.DataSource = _objdt; Chart1.DataBind(); } public DataTable GetDataForChart() { DataTable _objdt = new DataTable(); _objdt.Columns.Add(&#34;Country&#34;, typeof(string)); _objdt.Columns.Add(&#34;Growth&#34;, typeof(long)); _objdt.Columns.Add(&#34;LabelValue&#34;); var _objrow = _objdt.NewRow(); _objrow[&#34;Country&#34;] = &#34;On or Before Time&#34;; _objrow[&#34;Growth&#34;] = 80; _objdt.Rows.Add(_objrow); _objrow = _objdt.NewRow(); _objrow[&#34;Country&#34;] = &#34;Grace Time&#34;; _objrow[&#34;Growth&#34;] = 15; _objdt.Rows.Add(_objrow); _objrow = _objdt.NewRow(); _objrow[&#34;Country&#34;] = &#34;Late Time&#34;; _objrow[&#34;Growth&#34;] = 5; _objdt.Rows.Add(_objrow); return _objdt; } </pre> <p>&nbsp;When i run the above code. pie chart is display</p> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/148037/Web-page-displaying-Empty-Pie-Chart-for-dynamic-values-in-ASPNet/https://www.aspforums.net:443/Threads/148037/Web-page-displaying-Empty-Pie-Chart-for-dynamic-values-in-ASPNet/Thu, 01 Feb 2018 07:05:50 GMT