Insufficient data in bezier chart

Thread is closed for posting
2 posts, 0 answers
  1. Chieh
    Chieh avatar
    20 posts
    Member since:
    Mar 2004

    Posted 25 Jan 2010 Link to this post

    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,

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 28 Jan 2010 Link to this post

    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.
Back to Top