Page 1 of 1

EEncodingError with TWorldSeries

Posted: Tue Sep 12, 2017 1:01 pm
by 16580695
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,

Re: EEncodingError with TWorldSeries

Posted: Wed Sep 13, 2017 10:40 am
by yeray
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;