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 1376 - Legend checkboxes incorrectly positioned for Chinese Series titles
Summary: Legend checkboxes incorrectly positioned for Chinese Series titles
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: 150901
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-26 04:05 EST by yeray alonso
Modified: 2015-11-26 04:05 EST (History)
0 users

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


Attachments
test project (1.62 KB, application/zip)
2015-11-26 04:05 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2015-11-26 04:05:40 EST
Created attachment 527 [details]
test project

Having a series with a Chinese title, the legend checkboxes are displaced vertically. Here a sample:

uses Series, TeeConst;

var tmpSeries: TLineSeries;

procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.View3D:=false;
  Chart1.Legend.CheckBoxes:=true;

  for i:=0 to 3 do
  begin
    tmpSeries:=Chart1.AddSeries(TLineSeries) as TLineSeries;
    if (i mod 2 = 1) then
      tmpSeries.Title:= '这是一个错误';
  end;
end;

I also attach a simple project.
I've reproduced it with RAD XE and TeeChart 2014.11 and 2015.16.

This looks similar to this but not exactly:
http://bugs.teechart.net/show_bug.cgi?id=899