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

Label customizations Options · View
roberto
#1 Posted : Tuesday, January 22, 2013 1:35:38 PM
Rank: Newbie

Groups: Registered

Joined: 1/16/2013
Posts: 6
Hi,
in order to complete my chart customization I need to specify some measures for labels. For example, for Y-axis, I need that labels have a specific margin with the axis.
I've worked on Y-axis paint but i've not found anything useful.
Code:
Paint p = y_axis.getLabelPaint();
p.setColor(Color.rgb(68, 68, 68));
p.setTextSize(textSize);


I also use the following method:
Code:
y_axis.setLabelPosition(LabelPosition.Outside);
y_axis.setLabelAlignment(Alignment.Far);


How can I achieve my goal?

Thank you in advance.
Best regards,
Roberto
Baydalka Volodymyr
#2 Posted : Wednesday, January 23, 2013 3:59:46 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please check method ChartAxis.setSpacing ()

Best regards,
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-2016 ArtfulBits. All rights reserved.