TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Blair
- Newbie
- Posts: 1
- Joined: Tue Jul 01, 2008 12:00 am
Post
by Blair » Mon Mar 31, 2014 5:22 pm
I'm trying the following code.
Code: Select all
procedure TForm1.btnBuildClick(Sender: TObject);
Var tmpSeries : TCircularGauge;
begin
tmpSeries := TCircularGauge.Create(Self);
tmpSeries.Maximum := 10;
tmpSeries.Value := 2.4;
tmpSeries.ParentChart := Chart1;
Chart1.BottomAxis.Increment := 0.5 {<-------}
end;
procedure TForm1.btnSaveClick(Sender: TObject);
begin
SaveChartToFile(TCustomChart(Chart1), 'Test.Tee', True, True);
end;
procedure TForm1.btnLoadClick(Sender: TObject);
begin
LoadChartFromFile(TCustomChart(Chart1), 'Test.Tee');
end;
Checking the .tee file everything gets saved. But when I try reloading the increment doesn't load properly.
-
Yeray
- Site Admin
- Posts: 9612
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Tue Apr 01, 2014 8:28 am
Hello Blair,
I've checked it and I confirm it doesn't work well with TeeChart v2014.10. However, the gauges have been deeply redesigned so I've checked also with the actual sources we have here and it seem to work perfectly.
See the project attached, and the respective exe built with the actual sources:
We expect to prepare new installers very soon.
-
Blair
- Newbie
- Posts: 5
- Joined: Wed Dec 04, 2013 12:00 am
Post
by Blair » Tue Apr 01, 2014 2:10 pm
Any chance for a hotfix?
-
Yeray
- Site Admin
- Posts: 9612
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Wed Apr 02, 2014 8:23 am
Hi Blair,
We should publish new installers soon. This would be the fix.