TeeChartPro V7.07 Delphi 2006
We're getting an immediate
"Object reference not set to an instance of an object."
When trying to use TChart. (version as above)
Easy to re-create:-
1) Drop a TChart & a Button on a VCL for .NET Form
2) Add this code to the onClick of the button:(from the help docs)
procedure TForm2.Button1Click(Sender: TObject);
var tmpLineSeries:TLineSeries;
begin
tmpLineSeries:=TLineSeries.Create(self);
Chart1.AddSeries(tmpLineSeries);
tmpLineSeries.FillSampleValues(10);
end;
Make sure your "Uses" includes these " TeeProcs, Chart, Series"
Run the app but dont click the button just yet.
a) Now left & right click on the blank TChart - No problems
b) Now click the button to populate the Series, NOW TRY to click the
left or right buttons - IMMEDIATE "Object reference not set to an instance of an object." ERROR!!!!
HELP!!

I can email the entire source, with PDB if required.
Thanks in advance - We're stuck without this folks...
Jon