Page 1 of 1

Custom Marks Text

Posted: Sat Jan 07, 2006 4:57 pm
by 9529800
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.

Posted: Mon Jan 09, 2006 9:45 am
by narcis
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.