Losing Increment value

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Blair
Newbie
Newbie
Posts: 1
Joined: Tue Jul 01, 2008 12:00 am

Losing Increment value

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
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Losing Increment value

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:
testExportIncr.zip
(1.75 MiB) Downloaded 482 times
We expect to prepare new installers very soon.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Blair
Newbie
Newbie
Posts: 5
Joined: Wed Dec 04, 2013 12:00 am

Re: Losing Increment value

Post by Blair » Tue Apr 01, 2014 2:10 pm

Any chance for a hotfix?

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Losing Increment value

Post by Yeray » Wed Apr 02, 2014 8:23 am

Hi Blair,

We should publish new installers soon. This would be the fix.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply