G
Guest
hey all,
i learned how to make simple pie charts using code like the following from
an article referenced at the end of post:
For i = 0 To yaxis.Length - 1
currentangle = yaxis(i) / totalAng * 360
g.FillPie(New SolidBrush(GetColor(i)), 100, 40, 150, 150,
startangle, currentangle)
g.DrawPie(Pens.Black, 100, 40, 150, 150, startangle, currentangle)
startangle += currentangle
Next i
how would i put the values inside each pie section?
thanks,
rodchar
http://www.dotnetbips.com/articles/0e826454-619f-41de-8532-c855679031ff.aspx
i learned how to make simple pie charts using code like the following from
an article referenced at the end of post:
For i = 0 To yaxis.Length - 1
currentangle = yaxis(i) / totalAng * 360
g.FillPie(New SolidBrush(GetColor(i)), 100, 40, 150, 150,
startangle, currentangle)
g.DrawPie(Pens.Black, 100, 40, 150, 150, startangle, currentangle)
startangle += currentangle
Next i
how would i put the values inside each pie section?
thanks,
rodchar
http://www.dotnetbips.com/articles/0e826454-619f-41de-8532-c855679031ff.aspx