Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string[] xAxis = { "Banana", "Mango", "Apple" };
- double[] Percentage = { BananaPercentage, MangoPercentage, ApplePercentage };
- Color[] PieColors = { Color.Green, Color.Red, Color.Gray };
- chart1.Series[0].Label = "#PERCENT";
- chart1.Series[0].LegendText = "#AXISLABEL";
- //chart1.Series[0].Points[0].Color = PieColors[0];
- chart1.Series[0].Points.DataBindXY(xAxis, Percentage);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement