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

Spline not being displayed properly

3 Answers 46 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 09 Jul 2008, 10:44 AM
Hi,
I am using a spline chart series type to display a set of user generated values. In my example these values are (1:10, 2:11, 3:17, 30:35). The values are plotted correctly and using the point chart series type there is no problem, however when using the spline type the line doubles back on itself which is not how I would expect the chart to behave. This is not acceptable for our intents and purposes as the x axis represents a clients age and as it is impossible for them to get younger and then older again this misrepresents the data.

Is this a known issue and is there a fix or is it working as intended? Any solutions to this problem would be very welcome.

Cheers

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 09 Jul 2008, 03:23 PM
Hello Ben,

I am afraid, the link to the image points to Screenshot%5B2%5D.Png in your "My Documents" folder. I have attached the image I get with these data points and I believe this is the correct behavior. Spline curves are parametric and this allows them to get back (produce two points for the same X value).

You can check the following articles (including java applet producing similar results):
Hope this helps.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Zero Gravity Chimp
Top achievements
Rank 2
answered on 20 Jan 2011, 11:46 PM
Is there any way to turn this off?

My chart says my CPU usage is going back in time, for instance.

It seems to me that the feature can be useful, but what happens if you just wanted a smooth line drawn between point a and b? use spline area?

are there known workarounds/fixes for this.

thanks

Paul
0
Zero Gravity Chimp
Top achievements
Rank 2
answered on 21 Jan 2011, 12:05 AM
OK I turned it to spline area and i'll show you the chart I got. (attached)

There is no data between the points where the strange curve starts and whare it ends - I.E. its monitoring a CPU of a computer And the computer was turned off so the next point is several hours later. This seems to have something to do with it.

Here is a sample from the part of the data where that line is drawn:

datetime / double:

21/01/2011 12:08:00AM | 10.0

21/01/2011 12:09:00AM | 16.0

21/01/2011 12:10:00AM | 5.0

21/01/2011 07:32:01AM | 6.0

21/01/2011 07:33:00AM | 2.0

21/01/2011 07:34:00AM | 5.0

Let me know if this is enough information about my question.

Thanks again,

Paul
Tags
Chart (Obsolete)
Asked by
Ben
Top achievements
Rank 1
Answers by
Ves
Telerik team
Zero Gravity Chimp
Top achievements
Rank 2
Share this question
or