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! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
n_j  
#1 Posted : Saturday, December 12, 2009 9:37:49 PM(UTC)
n_j
Rank: Member

Groups: Registered
Joined: 11/19/2009(UTC)
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/

Edited by user Tuesday, December 15, 2009 7:16:17 AM(UTC)  | Reason: Not specified

pturchenko  
#2 Posted : Wednesday, December 16, 2009 5:46:48 PM(UTC)
Guest
Rank: Guest

Groups: Guests
Joined: 7/9/2009(UTC)
Posts: 3,342

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 9:10:12 PM(UTC)
n_j
Rank: Member

Groups: Registered
Joined: 11/19/2009(UTC)
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 9:29:56 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

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 11:27:54 PM(UTC)
n_j
Rank: Member

Groups: Registered
Joined: 11/19/2009(UTC)
Posts: 20
Location: Mumbai

Thanks, that worked!
Users browsing this topic
Guest
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-2017 ArtfulBits. All rights reserved.