Search code examples
c#winforms.net-3.5mschart

How do I make a pie-in-pie chart with MSChart?


I've downloaded MS Chart samples and in the gallery it shows a "3DPieInPie.png", which is what I want - but can't see any code to create it!!

enter image description here

Presumably it's ChartType = SeriesChartType.Pie ... but is there another setting that specifies I want the second pie? And how do enter the second set of data? - I've tried adding a new series, but it seems to be ignored.


Solution

  • Check out these answers. They also include some sample code:

    http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/54b4dbb7-1622-4798-8b6a-ef4f01e48c31/

    http://support2.dundas.com/default.aspx?article=1115

    http://support2.dundas.com/Default.aspx?article=1114