Custom Marks Text

Ideas and wishes for TeeChart
Post Reply
jalen
Newbie
Newbie
Posts: 7
Joined: Thu Jan 05, 2006 12:00 am
Location: Guelph, ON Canada
Contact:

Custom Marks Text

Post by jalen » Sat Jan 07, 2006 4:57 pm

It would be extremely helpful for me to be able to set the Marks.Style property to "Custom." Along with this enumeration/option would be the ability to manually/programmatically set the Text for a given item

Similar to this syntax :
tChart.Series(0).Marks.Item(x).Text = "My Custom Text"
'(x = row index)

I am able to do this with an old "Visual Studio First Impression" graphing tool, and I find it very useful for my appliciations.

Thanks

- john.

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

Post by Narcís » Mon Jan 09, 2006 9:45 am

Hi john,

You can already do this at the moment of populating the series as:

Code: Select all

    TChart1.Series(0).Add Rnd(100), "My Custom Text", clTeeColor
Another option is using the OnGetSeriesMark event and its MarkText event.
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