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

Plot an equation with a scatter chart

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 21 Feb 2012, 05:03 AM
Hi Telerik,

I am an engineer who has recently begun windows phone app development, new to C# and silverlight. I am using Telerik Radcontrols in my app and am trying to find a basic example of how to plot an equation using databinding with a scatter. I am currently using the basic scatter plot that I dropped into my design.

I have all the code behind completed to generate the equation (based upon user input).

I learn coding the best from simple examples that I can then expand upon. Is there anything simple where an equation, for example y = x^2, is plotted using a scatter with data binding?

Thanks,
Matt


1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 22 Feb 2012, 03:51 PM
Hello Matthew,

Thank you for your interest in RadChart.

The data binding feature is exposed by the different series and can be utilized by assigning a value to the ItemsSource property of a series object. ItemsSource is of type IEnumerable and can therefore be bound to anything. In our online documentation you can read more about Scatter series and about data binding when using RadChart. I have also attached a sample application to illustrate how you can use data binding to display the Equation y = x^2.

I hope this information helps.

All the best,
Todor
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Matthew
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or