This is a migrated thread and some comments may be shown as answers.

Server tag in chart

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amlan
Top achievements
Rank 1
Amlan asked on 07 Sep 2007, 09:31 AM
Hi

I wrote this code to create my chart dynamically:

<radc:ChartSeriesItem YValue="<%=y0%>" XValue="<%=x0%>"></radc:ChartSeriesItem>
                                        <radc:ChartSeriesItem YValue="<%=y1%> " XValue="<%=x1%>" ></radc:ChartSeriesItem>

but i got this error message :

Overflow error.

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.OverflowException: Overflow error.

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:

[OverflowException: Overflow error.]
System.Drawing.Graphics.CheckErrorStatus(Int32 status) +104
System.Drawing.Graphics.DrawLines(Pen pen, Point[] points) +317
Telerik.WebControls.Chart.DrawHLineSeries(ChartSeries series, Rectangle plotRect, Int32 lineType) +1034
Telerik.WebControls.Chart.DrawHorizontalSeries(Rectangle chartRectangle, Rectangle plotRectangle, StringBuilder sbImageMap) +496
Telerik.WebControls.Chart.DrawSeriesManager(Rectangle chartRectangle, Rectangle plotRectangle, StringBuilder sbImageMap) +415
Telerik.WebControls.Chart.Draw(Int32 chartWidth, Int32 chartHeight, StringBuilder sbImageMap) +3139
Telerik.WebControls.RadChart.RenderContents(HtmlTextWriter writer) +532
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +43
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +98
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +43
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +335
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Page.Render(HtmlTextWriter writer) +39
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5534

Please let me know how can I get rid off this error .Or plz. suggest any other method to make the coordinates of my chart dynamic.

Thanks and regards,

Amlan

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 10 Sep 2007, 11:27 AM
Hi Amlan,

Can you open a support ticket and send us a sample application to reproduce the problem locally? Thank you in advance.

In case the support ticketing system is not available, please ask the person who purchased our controls in your company to add you as a license developer to the purchase. More information on license developers you can find here: www.telerik.com/faq/.

 
Sincerely yours,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Amlan
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or