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 899

Summary: Using Korean alphabet in Title displaces the Legend checkboxes
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: LegendAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major CC: dsjung
Priority: High    
Version: 140512   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/directline/viewtopic.php?f=11&t=945&p=4547#p4547
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE6
Attachments: legend checkbox too up

Description yeray alonso 2014-08-25 07:12:38 EDT
Created attachment 275 [details]
legend checkbox too up

The code below makes the Legend checkbox to be drawn some pixels up to the position where it should be.

uses VCLTee.Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Title.Text.Clear;
  Chart1.Title.Text.Add('가나다');

  Chart1.AddSeries(TLineSeries);

  Chart1.Legend.CheckBoxes:=true;
end;

See the image attached
Comment 1 svkkorea 2014-09-25 02:30:07 EDT
Hello,

Please reply for my inquiry as soon as possible.
Also, When resolve the this issue?
I hope to give a positive answer as soon as possible.

It's been a long time. This issue is very urgent.

Best Regards,
Daesung.
Comment 2 svkkorea 2014-09-29 00:13:41 EDT
Hello,

Please reply as soon as possible.
I think this is totally irresponsible.
Why does not reply?

Best Regards,
Daesung.
Comment 3 yeray alonso 2014-09-29 03:33:44 EDT
Sorry for the lack of reply here.

As you can see, the bug is reported and confirmed. However, I'm afraid we can't tell when a ticket will be closed. There's a number of variables affecting the time to close an item such as the complexity of the problem, the study of the possible collateral damages, and the number of issues with a higher priority that claims our team attention.
Comment 4 svkkorea 2014-09-29 03:52:17 EDT
Hello,
Your reply is too slow.
I hope to hear from you soon.

Anyway, Is there a workaround for the problem?
Please let me know that how to resolve the issue.
Did you create the patch file for resolve following issue?

Best Regards,
Daesung.
Comment 5 yeray alonso 2014-09-29 04:09:48 EDT
The only workaround I can think on is using an Annotation Tool instead of the regular Title.
Comment 6 svkkorea 2014-09-29 04:24:23 EDT
I can't catch what you are saying.
Can not our client use the legend box using Korean? Is this the end?
You are so irresponsible.

Our client waited for one month...
At least, You should have sent a sample or patch file.
And then, You have to explain for your answer.

Is this a difficult task?
Comment 7 yeray alonso 2014-09-29 10:06:29 EDT
Re. “Is this a difficult task?”

We don’t have a fix for the issue yet. Apologies for the inconvenience, we will get there but we simply don’t have a fix yet.

 

Re. “Our client waited for one month...
At least, You should have sent a sample or patch file.
And then, You have to explain for your answer.”

We had mistakenly assumed that the Annotation Tool would be known to you. Here is a code sample that shows how you can use it in this case:

uses Series, TeeTools;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Title.Text.Clear;
  Chart1.Title.Text.Add('가나다');

  Chart1.AddSeries(TLineSeries);

  Chart1.Legend.CheckBoxes:=true;

  with Chart1.Tools.Add(TAnnotationTool) as TAnnotationTool do
  begin
    Text:=Chart1.Title.Text.Text;
    Left:=Round((Chart1.Width / 2) - (Chart1.Canvas.TextWidth(Text) / 2));
    Top:=10;
  end;

  Chart1.Title.Visible:=False;
  Chart1.MarginTop:=15;
end;