Adding Data to Pie Chart
Posted: Sat Sep 13, 2014 4:24 am
How do I add data for a pie chart from code?
For example, what are the x and y values?
For example, what are the x and y values?
Steema Software - Customer Support Forums
http://216.92.101.67/support/
A simple example may look like this:lilo wrote:How do I add data for a pie chart from code?
For example, what are the x and y values?
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Pie pie = new Pie(tChart1.Chart);
pie.Add(2);
pie.Add(3);
pie.Add(4);
pie.Circled = true;
}