problem with TPieSeries
Posted: Fri Oct 26, 2007 4:15 pm
With Delphi 7 and Teechart Pro 7.12.
I have a Teechart with TPieSeries in my application and I get an access violation on the application exit.
my serie creation:
Chart1.SeriesList.Clear;
tmpSeries := TPieSeries.Create(Chart1);
TPieSeries(tmpSeries).Circled := true;
tmpSeries.ParentChart := Chart1;
tmpSeries.Add(10,'bob', clBlue);
tmpSeries.Add(25,'brico', clOlive);
I think it lacks a simple initialization or else but I'm unable to find what is it. Can someone help me?
I have a Teechart with TPieSeries in my application and I get an access violation on the application exit.
my serie creation:
Chart1.SeriesList.Clear;
tmpSeries := TPieSeries.Create(Chart1);
TPieSeries(tmpSeries).Circled := true;
tmpSeries.ParentChart := Chart1;
tmpSeries.Add(10,'bob', clBlue);
tmpSeries.Add(25,'brico', clOlive);
I think it lacks a simple initialization or else but I'm unable to find what is it. Can someone help me?