Problem with chart.Axes.Left.LabelsFont.Size

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Problem with chart.Axes.Left.LabelsFont.Size

Post by johnnix » Tue Jun 01, 2010 6:14 am

Hello,

I am using TeeChart 8.0.6 and I noticed an issue. I draw a chart to a metafile canvas using the following code, which works ok:

Code: Select all

MyChart.ChartRect:=TeeRect(x1, y1, x2, y2);
MyChart.DrawToMetaCanvas(MyMetafileCanvas, MyChart.ChartRect);
Before I call the above lines I need to change the Font size of my Left and Bottom Axis using the code which does not work:

Code: Select all

MyChart.Axes.Left.LabelsFont.Size = 6
The above code works ok when altering the Font size of a chart in a form. I am pretty sure that with previous versions this worked ok. As I am a source code customer I would really appreciate any hints :D

Regards

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

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by Yeray » Wed Jun 02, 2010 8:28 am

Hi johnnix,

Could you please send us a simple example project we can run as-is to reproduce the problem here?
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by johnnix » Thu Jun 03, 2010 5:26 am

Hello Yeray,

Here it is... :)

Regards
Attachments
TMetafile.zip
(7.37 KiB) Downloaded 596 times

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

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by Yeray » Mon Jun 07, 2010 8:32 am

Hi johnnix,

Could you please try with the latest version available at the client area (v8.07)?
Here it is the result I'm getting compiling your project and clicking the button 2:
labels_size.png
labels_size.png (38.19 KiB) Viewed 9699 times
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by johnnix » Mon Jun 07, 2010 8:46 am

Hello,

There is an issue with the Grid and Small dots (I posted this some time ago) and I cannot update to 8.07. Is there any work around for me? It used to work ok :)

Regards

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

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by Yeray » Tue Jun 08, 2010 1:55 pm

Hi johnnix,

If you can't upgrade to 8.07, can't you apply the changes Narcís explained here to the v8.06, so that you can get both issues working fine?
I've just checked it and the v8.06 with the mentioned fix seems to solve both issues.
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by johnnix » Wed Jun 09, 2010 5:07 am

Hello,

This is why my previous v8.06 worked ok :D I totally forgot about that post, I am very sorry. Can you please inform me of the status of TV52014825 (the one with the problem with AntiAlias and GridLines set to SmallDots).

Thank you very much for your time

Regards

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

Re: Problem with chart.Axes.Left.LabelsFont.Size

Post by Yeray » Wed Jun 09, 2010 8:37 am

Hi johnnix,

You are welcome!
Regarding the smalldots issue, let me answer you in the appropriate thread.
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