EEncodingError with TWorldSeries

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Fab
Newbie
Newbie
Posts: 4
Joined: Mon Apr 10, 2017 12:00 am

EEncodingError with TWorldSeries

Post by Fab » Tue Sep 12, 2017 1:01 pm

Hello,

Version = 2017.22.170619 FMX + Delphi 10.2.1 (Tokyo update 1)

On Android application give an exception EEncodingError and don't start with TWorldSeries.

Easy to reproduce : Tchart with a TWorldSeries on form.


Best regards,

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

Re: EEncodingError with TWorldSeries

Post by Yeray » Wed Sep 13, 2017 10:40 am

Hello,

I could reproduce the problem at designtime so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1917

However, it seems to work fine by code:

Code: Select all

uses FMXTee.Chart, FMXTee.Series.World;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=TAlignLayout.Client;

  Chart1.View3D:=False;
  Chart1.Legend.Hide;
  Chart1.AddSeries(TWorldSeries).FillSampleValues;
end;
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