Font Size for PointLabel?

TeeChart for ActiveX, COM and ASP
Post Reply
ASM
Newbie
Newbie
Posts: 13
Joined: Thu Nov 18, 2004 5:00 am

Font Size for PointLabel?

Post by ASM » Thu Apr 05, 2007 8:21 pm

Is there a way to adjust the font size for the PointLabels in a series?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Apr 10, 2007 12:09 pm

Hi ASM,

You can do something like this:

Code: Select all

    TChart1.Series(0).Marks.Font.Size = 12
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ASM
Newbie
Newbie
Posts: 13
Joined: Thu Nov 18, 2004 5:00 am

Post by ASM » Wed Apr 11, 2007 6:31 pm

I have tried that, but it doesn't seem to work. I'm looking to adjust the font size of the label for a point:

TChart.Series(0).AddXY(xValue, yValue, label, color)

The label that is added in the statement above doesn't seem to have a way to change the font size. Is the marks font size supposed to apply to this as well?

ASM
Newbie
Newbie
Posts: 13
Joined: Thu Nov 18, 2004 5:00 am

Post by ASM » Wed Apr 11, 2007 6:56 pm

Nevermind, I was able to fix it. What I thought was the point label being displayed was actually an annotation. Thanks for the help, though!

Post Reply