Duration: 17 minutes
Summary: We had an intro to charts in the previous video. Here, we will see how to sort charts data and filter it. We start with sorting. We create a chart that retrieves data from the Employee and Contact tables. Since we need to have the data first to sort it, we implement the sorting method in OnDataBound. We will be sorting data along the y axis (vacation hours). We will do almost the same thing for the filtering. We start with top 10 employees on our chart. Then, we apply the filter to get the top 4 based on the vacation hours as well.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Chart, Sort, FilterTopN, Series, OnDataBound, XValueMember, YValueMembers, chartareas, SqlDataSource, DataManipulator, PointSortOrder, Ascending.