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

Help with an error message

3 Answers 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wadigzon
Top achievements
Rank 1
Wadigzon asked on 06 Sep 2013, 05:43 PM
Hi there, I am getting this error when my report gets rendered:
======================================================================
Failed to create a 'X1' from the text 'INF'.' Line number '1' and line position '670'.

'INF' string cannot be converted to Length.
======================================================================
I need to know what settings on the report is causing this i.e. what function call/property setting is doing this so I can address the problem accordingly. This is happening probably because I don't have enough data points for my graph (with DateTime scale on x axis). But I need some help as to what could be causing it. Because after all, a graph with no data points should not be throwing an error anyways.

3 Answers, 1 is accepted

Sort by
0
Wadigzon
Top achievements
Rank 1
answered on 06 Sep 2013, 08:14 PM
I think that error happened when the minimum and the maximum value for DateTimeScale was the same (one data point). I fixed this by artificially adding the maximum value of the DateTimeScale a minute. But now I have this other error with just a couple of data points:
============================================================================
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
============================================================================

attachment shows the same error. What is it that's causing this error to appear?.
0
Wadigzon
Top achievements
Rank 1
answered on 09 Sep 2013, 05:14 PM
The collection of data points is not even empty. There are two points per line series (eight line series). The irony is that when I have a single data point (for the eight line series). I still get a graph as shown in the attachment (capture.jpg). 
0
Accepted
Stef
Telerik team
answered on 11 Sep 2013, 05:04 PM
Hello,

This is a quote from the answer in your support ticket on the same question:

"This is a known issue regarding lineSeries with only two points and set SmoothLine property to true. We have provided a fix for it in the latest Telerik Reporting Q2 2013 SP1 version 7.1.13.802."

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Wadigzon
Top achievements
Rank 1
Answers by
Wadigzon
Top achievements
Rank 1
Stef
Telerik team
Share this question
or