Making A Graphic Pie Chart In C#

前端 未结 3 1578
故里飘歌
故里飘歌 2021-01-05 04:15

I\'m trying to write a Windows Application that shows a pie chart with seven unequal slices (25%, 20%, 18%, 17%, 10%, 10%, 10%) all of them will be colored differently.

相关标签:
3条回答
  • 2021-01-05 04:35

    This isn't a direct answer to you question, but why aren't you using the Microsoft chart controls?

    Scott Gu's post about it

    0 讨论(0)
  • 2021-01-05 04:42

    I will advise you to take a look at ZedGraph.

    If you want a sample code to actually draw pieChart using GDI you can check this tutorial.. It uses FillPie Method of Graphics class.

    0 讨论(0)
  • 2021-01-05 04:47

    CodeProject.com has several samples. Here's one I've used. Also, I would recommend looking into the Google Charts. It will do this for you.

    0 讨论(0)
提交回复
热议问题