How to generate average series of two series?

2 posts, 0 answers
  1. Mark
    Mark avatar
    4 posts
    Member since:
    Mar 2012

    Posted 24 Apr 2012 Link to this post

    Let's say I have two series on a RadChart -- values versus time.  Is there a built-in function I can use to generate a third series which is the average of the first two series?  I want to be able to take N individual series and show the average of all N series as a single series.  Can I do this?
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 27 Apr 2012 Link to this post

    Hi Mark,

     There is no built in function / feature that will do this automatically for you. However you may create this average function in the datasource and bind the new series to it. For example, if you bind the chart to a list of business objects, you may create a new property of your class, where it's values are average of the previous ones. Then bind the YValues of your new serie to it.
       

    Greetings,
    Evgenia
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top