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

How to generate average series of two series?

1 Answer 56 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 24 Apr 2012, 08:08 PM
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?

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 27 Apr 2012, 11:32 AM
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 >>
Tags
Chart (obsolete as of Q1 2013)
Asked by
Mark
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or