Hi,
i using delphi 2007 and TeeChart 8.05
I am running an application, which allows the user to customize the chart, saving it and reloading it.
It seems that the information "show grid lines" is not be saved - or loaded?
What to do?
Thanks
Mike
Setting Grid.Visible is neither saved nor loaded
Re: Setting Grid.Visible is neither saved nor loaded
Hi Mike,
Could you please send us a simple example project we can run as-is here to reproduce the problem here? I've tested with the following code and everything seems to work as expected:
Note that you can now attach your files directly to this forums.
Could you please send us a simple example project we can run as-is here to reproduce the problem here? I've tested with the following code and everything seems to work as expected:
Code: Select all
uses series, teestore;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.AddSeries(TLineSeries.Create(self));
Chart1[0].FillSampleValues(25);
Chart1.Axes.Bottom.Grid.Visible := false;
SaveChartToFile(Chart1, 'C:\test.tee',true,true);
Chart1.ClearChart;
end;
procedure TForm1.Button1Click(Sender: TObject);
var tmpChart: TCustomChart;
begin
tmpChart := TChart.Create(self);
LoadChartFromFile(tmpChart, 'C:\test.tee');
Chart1 := tmpChart as TChart;
Chart1.Parent := Self;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Setting Grid.Visible is neither saved nor loaded
Hi,
thank you. I found the error. It was my mistake.
best regards
mike
thank you. I found the error. It was my mistake.
best regards
mike