Question regarding TMarkItem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JohanI
Newbie
Newbie
Posts: 5
Joined: Fri Jun 29, 2007 12:00 am

Question regarding TMarkItem

Post by JohanI » Wed Jun 30, 2010 12:29 pm

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

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

Re: Question regarding TMarkItem

Post by Narcís » Thu Jul 01, 2010 9:06 am

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.
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

JohanI
Newbie
Newbie
Posts: 5
Joined: Fri Jun 29, 2007 12:00 am

Re: Question regarding TMarkItem

Post by JohanI » Thu Jul 01, 2010 9:53 am

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.

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

Re: Question regarding TMarkItem

Post by Narcís » Thu Jul 01, 2010 10:01 am

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.
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