Every time I gen a chart with Microsoft’s Chart, I have to remind myself of the not-so-obvious syntax for the simple way to do things. So, since I had to do it again last weekend, I decided to put it on the blog here, where I can find it later. Three types…
Pie Chart (or SeriesChartType.Pie)
Find this code here. And, the chart should look a little something like this:
Line Chart (or SeriesChartType.Line)
Find the code here. The chart should look like this:
Stacked Bar Chart (or SeriesChartType.StackedBar)
Find the code here. The chart should look like this:
And I hope this helps you, too.
0 comments:
Post a Comment