whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest Search | Active Topics | Log In | Register

Annotations visible outside axes at zoom Options · View
n_j
#1 Posted : Saturday, December 12, 2009 7:37:49 PM
Rank: Member

Groups: Registered

Joined: 11/19/2009
Posts: 20
Location: Mumbai
Check out the attached screenshot. The series line is hidden outside the axes at zoom-in, but it's annotation is visible.

Edit: Link to screenshot, http://img25.imageshack.us/i/devicees.png/
pturchenko
#2 Posted : Wednesday, December 16, 2009 3:46:48 PM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 3,383
Please don't use annotations. Use ChartPoint.setLabel instead. Annotations are intended to be used for other purposes.
n_j
#3 Posted : Friday, December 25, 2009 7:10:12 PM
Rank: Member

Groups: Registered

Joined: 11/19/2009
Posts: 20
Location: Mumbai
Hi,

I use ChartPointCollection.addDate(Date, double) to add points. If I use ChartPoint, I won't be able to use addDate since ChartPoint does not have an addDate method. How to add dates using ChartPoint ?
Baydalka Volodymyr
#4 Posted : Friday, December 25, 2009 7:29:56 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

ChartPointCollection.addDate(Date, double) - helper method to add the ChartPoint. Use this code to get the last added point

ChartPointCollection points = series.getPoints();
...
points.addDate(date, yValue);
ChartPoint point = points.get(points.size() - 1);
point.setLabel("My label");

Best regards,
Volodymyr Baydalka
Andriod development and support team
n_j
#5 Posted : Friday, December 25, 2009 9:27:54 PM
Rank: Member

Groups: Registered

Joined: 11/19/2009
Posts: 20
Location: Mumbai
Thanks, that worked!
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2016 ArtfulBits. All rights reserved.