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

Insufficient data in bezier chart

1 Answer 62 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Chieh
Top achievements
Rank 1
Chieh asked on 25 Jan 2010, 04:12 PM
Hello,
I'd used bar chart, line chart and bezier chart to show the same data, both of bar chart and line chart were going well, however, when selecting bezier chart, I got the error message shown in the clip, is there any ways to capture error and do some external work to prevent this yellow page?

Regards,

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 28 Jan 2010, 08:01 AM
Hello Peter,

The Bezier chart in RadChart is actually a cubic Bezier curve (you can find more information here) - that is you need at least 4 points to draw a curve - the first and the fourth points would represent the curve's ends, while the inner points will be the control points and they will not necessarily lie on the curve. That said, if you need to add more points you need to add at least 3 of them. Now the next part of the curve is defined by points #4 to #7, where point #4 and point #7 define the start and the end of the curve segment and points #5 and #6 are the control points. So generally you need  1 + 3xN (that is 4, 7, 10, 13 etc) points to define the chart.

Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart (Obsolete)
Asked by
Chieh
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or