Moving annotations

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
SetOnHi
Newbie
Newbie
Posts: 8
Joined: Tue Jun 18, 2013 12:00 am

Moving annotations

Post by SetOnHi » Wed Jun 19, 2013 5:10 pm

I would like annotations to be fixed to bars
If I scroll horizontally, what is the best way to move an annotation with the bar it is associated with

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

Re: Moving annotations

Post by Narcís » Fri Jun 21, 2013 1:59 pm

Hi SetOnHi,

I can think of two options here.

1. The easiest, use series built-in marks:

Code: Select all

                tChart.getSeries(0).getMarks().setVisible(true);
2. Use Annotation tools. There's an example of that on this thread. It is in Spanish but you can find the example on second Marc's post from 23rd March 2007.

Hope this helps!
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