Using Statistical Formulas
Statistical analysis goes hand in hand with charting and data visualization, and the ASP.NET charting control provides a wealth of functionality in this area. The DataManipulator property makes it easy to add statistical analyses to your charts. You can use the Statistics property on the DataManipulator to perform statistical analyses on data series without having to hand-write custom algorithms. (Though you can do that too, if necessary.)
The code in Listing 15.5 illustrates adding a label to the top of a page that contains a chart showing the mean value of a series of data points (see Figure 15.5).
Figure 15.5. Displaying the mean.
Listing 15.5. ShowMean.aspx
You can also use these calculated statistics to display ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access