I am able to display pie chart.My problem is i want to display text inside the pie charts as shown below.please help me....
this is my code:
Imports
Partial
myImage =
g = Graphics.FromImage(myImage)
createBrushes()
myBrushes(0) =
myBrushes(1) =
myBrushes(2) =
myBrushes(3) =
g.DrawString(
total += p(i)
percentage = p(i) / total * 360
g.FillPie(myBrushes(i), 20, 50, 250, 250,
g.DrawString(towns(i),
angleSoFar += percentage
g.FillRectangle(myBrushes(i), 350, 25 + (i * 50), 25, 25)
initialiseGraphics()
g.Clear(Color.WhiteSmoke)
drawPieChart(g)
myImage.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
End
The output:
i want to display % values inside the pie....please help me