Jerry Nixon @Work: Microsoft Chart 3.5: Simple Charts

Jerry Nixon on Windows

Tuesday, October 12, 2010

Microsoft Chart 3.5: Simple Charts

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)

image

Find this code here. And, the chart should look a little something like this:

image

Line Chart (or SeriesChartType.Line)

image

Find the code here. The chart should look like this:

image

Stacked Bar Chart (or SeriesChartType.StackedBar)

image

Find the code here. The chart should look like this:

image

And I hope this helps you, too.