Tech Tutorials Database
GeekArticles Database SQL Server
 

Using Microsoft's Chart Controls In An ASP.NET Application: Adding Statistical Formulas

 
Author: 4guysfromrolla.com
Category: SQL Server
Comments (0)

<p> The Microsoft Chart controls make it easy to take data from a database or some other data store and present it as a chart. As discussed in <a Data</a>, the Chart controls offer a myriad of ways to get data into a chart. You can add the data programmatically, point-by-point, or you can bind an ADO.NET <code>DataTable</code> directly to the Chart. You can even use declarative data source controls, like the SqlDataSource or ObjectDataSource controls. </p><p> In addition to converting your specified data points into a chart image, the Chart controls also include a wealth of statistical formulae that you can use to analyze the plotted data. For example, with a single line of code you determine the mean (average) value for data in a particular series. Likewise, with one line of code you can get the median, variance, or standard deviation. These values can be displayed as text on the page or as a <i>stripe line</i> on the chart itself. more, the Chart controls include functions to forecast future values, to compute moving averages, to identify trends, and to determine rates of change, among others. </p><p> This article looks at how to use two statistical formulae. Specifically, look at how to compute and display the mean of a series, as well as how to display an exponential trend line on the chart to forecast future values. Read on to learn more! <br /><a More &gt;</a></p>

Read More...




Sponsored Links




Read Next: Using Transactions with SqlBulkCopy



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe