Page 1 of 1

Formatting the marks

Posted: Wed Mar 28, 2007 4:02 pm
by 9338657
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.

Posted: Thu Mar 29, 2007 7:54 am
by narcis
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.