line chart for 5th order polynomial

Thread is closed for posting
2 posts, 0 answers
  1. Glavin
    Glavin avatar
    11 posts
    Member since:
    Nov 2008

    Posted 22 Jan 2009 Link to this post

    what is the best way to chart a line curve graph whose data points are calculated from a 5th order polynomial whose constants are dynamic? The x-axis range is also dynamic.

    My first stab at it was to generate a series that had 50 data points and bind it, but then the x-axis had too many points on it to be readable.
  2. Velin
    Velin avatar
    391 posts

    Posted 26 Jan 2009 Link to this post

    Hello Michael,

    You can reduce the number of labels shown on the X axis by setting the LabelStep property of the axis to a suitable value. Following is how this could be done:

    chart.PlotArea.XAxis.LabelStep = 5

    And just in case, there is another chart type provided with RadChart which you might find useful - the  spline chart. More information on this here.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top