The line
UltraChart c = new UltraChart();
System.NullReferenceException: Object reference not set to an instance of an object.
at Infragistics.WebUI.UltraWebChart.UltraChart.Infragistics.UltraChart.Resources.IChartComponent.Invalidate(CacheLevel cacheLevel)
at Infragistics.UltraChart.Resources.Appearance.AppearanceHelper.UpdateParentProperty()
at Infragistics.UltraChart.Resources.Appearance.PaintElement.set_StrokeWidth(Int32 value)
at Infragistics.UltraChart.Resources.Appearance.HistogramLineAppearance..ctor(IChartComponent component)
at Infragistics.UltraChart.Resources.Appearance.HistogramChartAppearance..ctor(IChartComponent component)
at Infragistics.WebUI.UltraWebChart.UltraChart.CreateAppearanceObjects()
at Infragistics.WebUI.UltraWebChart.UltraChart.CreateChart()
at Infragistics.WebUI.UltraWebChart.UltraChart..ctor()
at mPrism.Sharepoint.WebParts.ExceptionPieChart.ExceptionPieChart.OnPreRender(EventArgs e)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Please help!
Thanks
Todd Wilder
I’ve been trying this in standard ASP.NET page and there is no problem. As I’m seeing you are using the chart in SharePoint and the first error is: