Plot an equation with a scatter chart

Thread is closed for posting
2 posts, 0 answers
  1. Matthew
    Matthew avatar
    1 posts
    Member since:
    Jan 2012

    Posted 20 Feb 2012 Link to this post

    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?


  2. Todor
    Todor avatar
    798 posts

    Posted 22 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top