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

Allign annotations to the X-Axis Options · View
giligen
#1 Posted : Monday, November 22, 2010 3:09:29 PM
Rank: Newbie

Groups: Registered

Joined: 11/14/2010
Posts: 6
Hi there,

Is there a way to align Annotations to the X-Axis rather then to a Series? i.e., I don't want the annotation at the middle of the graph but rather at the bottom on the X-Axis...

One trick I can think of is adding a new series with Y values always at 0, and attach the annotation to that Series, is there a "cleaner" way?

Thanks...
Baydalka Volodymyr
#2 Posted : Monday, November 22, 2010 4:03:50 PM
Rank: Developers Team


Groups: Registered, Administrators

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

If you use column type, try the following code :

Code:
chartSeries.setAttribute(ChartColumnType.MARKER_ALIGN, Alignment.Far);


Otherwise, try to configure X axis or use second series. It would be nice if you provide a picture of the desired behavior.

Best regards,
Volodymyr Baydalka
Andriod development and support team
giligen
#3 Posted : Monday, November 22, 2010 7:59:33 PM
Rank: Newbie

Groups: Registered

Joined: 11/14/2010
Posts: 6
Thanks for the quick response Volodymyr.
Sorry for not mentioning it earlier... I'm using a Spline/FastLine graph.And I'd like to use the Annotation as a marker that at a certain point on the graph something happened.

In the attached image, I'm looking to add annotations a/b/c or alternatively if possible also have a "marker line" like d/e

Thanks!
giligen attached the following image(s):
image.PNG (89kb) downloaded 33 time(s).
Baydalka Volodymyr
#4 Posted : Thursday, November 25, 2010 12:15:42 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please, check following sample. It demonstrates how to implement custom annotation position and how to use striplines.

Best regards,
File Attachment(s):
StriplinesSampleAdv.zip (16kb) downloaded 25 time(s).
Volodymyr Baydalka
Andriod development and support team
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.