Page 1 of 1

Problem with chart.Axes.Left.LabelsFont.Size

Posted: Tue Jun 01, 2010 6:14 am
by 10046032
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

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

Posted: Wed Jun 02, 2010 8:28 am
by yeray
Hi johnnix,

Could you please send us a simple example project we can run as-is to reproduce the problem here?

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

Posted: Thu Jun 03, 2010 5:26 am
by 10046032
Hello Yeray,

Here it is... :)

Regards

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

Posted: Mon Jun 07, 2010 8:32 am
by yeray
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 9698 times

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

Posted: Mon Jun 07, 2010 8:46 am
by 10046032
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

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

Posted: Tue Jun 08, 2010 1:55 pm
by yeray
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.

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

Posted: Wed Jun 09, 2010 5:07 am
by 10046032
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

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

Posted: Wed Jun 09, 2010 8:37 am
by yeray
Hi johnnix,

You are welcome!
Regarding the smalldots issue, let me answer you in the appropriate thread.