Page 1 of 1

Question regarding TMarkItem

Posted: Wed Jun 30, 2010 12:29 pm
by 10545837
Hi all,

We are using a label and a manually calculated index displayed as text in each TMarkItem. We have got a request that if the index values are above or below a certain limit, then only the font size and font color for the index should change. Note that the font for the labels in all the TMarkItems should stay the same, which is not possible by the default functionality. So my question is do anyone know any workaround/solution to this problem?

Best Regards,

Johan Ingemansson

Re: Question regarding TMarkItem

Posted: Thu Jul 01, 2010 9:06 am
by narcis
Hi Johan,

Yes, you could try using custom marks for each series point as shown in the All Features\Welcome!\Miscellaneous\Series Marks\Custom per point example at the new features demo, available at TeeChart's program group.

Re: Question regarding TMarkItem

Posted: Thu Jul 01, 2010 9:53 am
by 10545837
Hi again,

Thx for the tip, however this does unfortunatly not solve my issue. I am using custom marks already, the problem for me is that you can only have 1 font size/color for each Mark. I need it for each string in .Text(TStrings) property. Guess I have to add some text over the markitem. Appreciate the feedback, thx again Narcis.

Re: Question regarding TMarkItem

Posted: Thu Jul 01, 2010 10:01 am
by narcis
Hi Johan,

In that case you may use HTML code as in the What's New?\Welcome!\New in Series\OrgSeries with HTML example in the features demo. TeeChart 2010 supports HTML code for all TShapeText objects.