Web Chart ClickSeries - Invalid parameter used.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Jim Holmes
Newbie
Newbie
Posts: 10
Joined: Fri Nov 15, 2002 12:00 am
Location: Scotland

Web Chart ClickSeries - Invalid parameter used.

Post by Jim Holmes » Fri Feb 25, 2005 9:50 am

I have a Web application that I am porting over from MS.Net v 1.0 to MS.Net v1.1.

I am testing Microsofts Enterprise Library for data access and everything seems to be working well until I tried to wire up the Webchart ClickSeries event. Even with no code in the event handler I get the following message ......

Invalid parameter used.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Invalid parameter used.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: Invalid parameter used.]
System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) +114
System.Drawing.Bitmap..ctor(Int32 width, Int32 height) +14
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height, PixelFormat pixelformat) +41
Steema.TeeChart.Chart.Bitmap(Int32 width, Int32 height) +11
Steema.TeeChart.Web.WebChart.CreatePictureFile(HtmlTextWriter writer) +511
Steema.TeeChart.Web.WebChart.Render(HtmlTextWriter output) +10
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +44
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929

Any help would be gratly received.

Many thanks

Jim.

PS has anyone tried Teechart under Mono?

Jim Holmes
Newbie
Newbie
Posts: 10
Joined: Fri Nov 15, 2002 12:00 am
Location: Scotland

Post by Jim Holmes » Mon Feb 28, 2005 10:36 am

Sorry all,

I think I had too many points on the chart ...... oops :oops:

Post Reply