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

line chart for 5th order polynomial

1 Answer 53 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Glavin
Top achievements
Rank 1
Glavin asked on 22 Jan 2009, 09:15 PM
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.

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 26 Jan 2009, 08:56 AM
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,
Velin
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Glavin
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or