Custom text to Mark

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Dharmesh Patel
Newbie
Newbie
Posts: 6
Joined: Mon Nov 19, 2012 12:00 am

Custom text to Mark

Post by Dharmesh Patel » Tue Apr 09, 2013 5:58 am

Hi,

Is there any way to set custom text to Mark??? I have tried "setText" function of MarkItem but not worked.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Custom text to Mark

Post by Yeray » Tue Apr 09, 2013 11:27 am

Hi,

The series marks show the series point labels if any.
You can set your series labels when adding points to the series, with an override of the add() method that accepts a string as an argument. Or you can set a point label in a series already populated with the getLabels().setString(index, value) function.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dharmesh Patel
Newbie
Newbie
Posts: 6
Joined: Mon Nov 19, 2012 12:00 am

Re: Custom text to Mark

Post by Dharmesh Patel » Thu Apr 11, 2013 3:06 am

Thanks...It works....

Post Reply