Making A Graphic Pie Chart In C#

前端 未结 3 1609
故里飘歌
故里飘歌 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: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.

提交回复
热议问题