Your question is not clear;
What do you mean by:
Druks wrote:
so that the pie chart will be drawn from a file or even a dialog
Are you meaning you want to get the data from a file or some user input from a dialog ?
Do the different article and sample of Pie Charts posted on CodeProject help you at all ?
Max.