Search found 2 matches

by Nigel Tavendale
Wed Dec 15, 2010 4:55 am
Forum: VCL
Topic: Creating Pie Series In Code
Replies: 2
Views: 2375

Re: Creating Pie Series In Code

Removing the following

Code: Select all

    MyChart.SeriesList.Add(pieSeries);
gets rid of the Exception. Only now the pie chart is invisible. The lables are sill there, which makes me think the pie is too, just with a radius so small I can't see it on the screen.

Does anyone have any idea what I am doing wrong?
by Nigel Tavendale
Tue Dec 14, 2010 5:04 am
Forum: VCL
Topic: Creating Pie Series In Code
Replies: 2
Views: 2375

Creating Pie Series In Code

Trying to create a Pie Series connected to a TClientDataSet in code. procedure TMyForm.CreateChart; var pieSeries: TPieSeries; i: Integer; begin MyChart.View3D := FALSE; //MyChart is a TeeChart On The From Screen.Cursor := crHourglass; try for i:= (MyChart.SeriesCount -1) downto 0 do MyChart.Series[...