We are using UltraWebChart to draw pie-chart in our Asp.net application.
It is throwing below error when we try to load specific numbers into the chart.
Exception: System.ArgumentException Message: Parameter is not valid. Source: System.Drawing at System.Drawing.Drawing2D.GraphicsPath.AddPath(GraphicsPath addingPath, Boolean connect) at Infragistics.UltraChart.Core.Layers.Pie3DLayer.FillSceneGraphPie(SceneGraph scene, ChartLayer3D layer) at Infragistics.UltraChart.Core.ChartCore.DrawChart() at Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output)
DataTable:
Column : LABELX SERIES1 SORTINDEX
Pending-11 11 1
Active-11 11 2
Inactive-83 83 3
private static void BindDataToChart(UltraChart chart, DataTable dt)
{
switch (chart.ChartType)
case ChartType.PieChart3D:
chart.DataSource = dt;
chart.DataBind();
chart.Data.IncludeColumn("SORTIDX", false);
break;
……
Pending
Active
Inactive
#1
11
83
#2
22
166
#3
44
332
#4
66
498
Any help will be highly appreciated.
Hello Abhilash,
I‘m not sure what is causing the exception in your project. What I can suggest is to download the latest trial version of our ASP.NET product and to explore how your scenario will look like with the new Infragistics` visual controls. If, however, in version 16.2 you are able to reproduce the issue that you are experiencing now, don`t hesitate creating an isolated sample that reproduces the case. In such a case I will be able to investigate the cause of the issue and to provide you a further and better support.
Best Regards, Marina Stoyanova, Software Developer, Infragistics, Inc.
Hi Marina,
Thank you so much for the response and advise. Can you please confirm the latest version have a fix for this issue ?
Best Regards,
Abhilash
Thank you for using our community.
The 11.1 version of our controls is considered deprecated and not supported in modern browsers. This is because v11.1 was created and maintained in a period of time when these browsers were not existing and the functionality and design were implemented to best fit the existing browsers environment. This has not changed. We are always ensuring and maintaining the latest volume releases to “fit in” with the latest technologies/environments. You can find more details at: https://es.infragistics.com/support/supported-environments
What is more the Developer Support for NetAdvantage for 11.1 was available until May 2014, Service Release support for that product version and the retired classic toolset has expired - development issues are no longer being fixed for that version. UltraWebChart is now replaced by the WebChart control, which is based on a better architecture.
I suggest you to upgrade your project to our latest versions if possible.