Duration: 16 minutes
Summary: In this video, we discuss more about the Chart control. After
looking at the chart we created in previous video (names and vacation hours),
we decided to add more features to the chart. We added a StripLine in the
ChartArea section. Then we changed some of the properties for this StripLine in
the code behind by displaying the mean. We got the mean from the
DataManipulator.Statistics. We also added a lable under the chart that displays
the value of the mean.
After that we went over the long list of
the chart properties. We looked at legends, BackGradientStyle, BorderlineColor,
and BorderSkin (setting the SkinStyle property on this gave the chart a round
of the development of example: Good coding standard
and simplified design to illustrate the key points.
Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Chart, Series, OnDataBound,
XValueMember, YValueMembers, chartareas, SqlDataSource, DataManipulator,
StripLines, AxisY, BackGradientStyle,
BorderlineColor, Area3DStyle-Enable3D, Area3DStyle-LightStyle, BorderWidth,
BorderSkin, SkinStyle, Statistics, Mean, IntervalOffset.