Formatting the marks

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rhyden
Newbie
Newbie
Posts: 7
Joined: Wed Aug 18, 2004 4:00 am

Formatting the marks

Post by rhyden » Wed Mar 28, 2007 4:02 pm

I am using Delphi 2006 with TeeChartPro v 7.08.

I have an app that graphs the users data and gives them the option of viewing the marks for their TLineSeries. I have a customer who wants to be able to set the precision of the text contained within the mark (i.e. only show two decimal points). I have played around with the format, style, and text options for the series but cannot find anything that allows me to give the user this control. Is there a way to do this?

Thanks.

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

Post by Narcís » Thu Mar 29, 2007 7:54 am

Hi rhyden,

You can set marks style using this:

Code: Select all

  Series1.Marks.Style:=smsValue;
You can also customize marks using series OnGetMarkText event using its MarkText parameter.
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

Post Reply