Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1917 - EEncodingError with TWorldSeries in Android
Summary: EEncodingError with TWorldSeries in Android
Status: CONFIRMED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 22.170619
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 06:39 EDT by yeray alonso
Modified: 2017-09-13 06:39 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
call stack (48.55 KB, image/png)
2017-09-13 06:39 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2017-09-13 06:39:59 EDT
Created attachment 782 [details]
call stack

The problem appears when you have a TChart with a TWorldSeries added at design time.

To reproduce the problem, just:
- Create a new FMX project in Tokyo
- Drop a TChart into the form
- Add a TWordSeries series to the chart, at design time.
- Select Android as target
- Press F9 to Debug the project.

You get an error:

Project Project1.apk raised exception class EEncodingError with message 'No mapping for the Unicode character exists in the target multi-byte code page'.

Find a screenshot of the Call Stack attached.

Note doing the same at runtime works without problems:

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;