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

Axis Label and Point Label Text Size Options · View
thedigitalsean
#1 Posted : Tuesday, November 02, 2010 5:26:50 PM
Rank: Newbie

Groups: Registered

Joined: 11/2/2010
Posts: 5
Hello all,

I'm a software engineer that is new to Android and to aiCharts so I apologize in advance for my obvious questions. I've been playing around with a lot of charting libraries for Android in the past few days and must say I'm impressed so far with the features and ease of use of aiCharts.

I'm using aiCharts in a custom application where the users might be elderly or even disabled. As such, I need to increase the size of the text in the axis labels and data point labels significantly. However, digging through the documentation and this forum, I haven't found any solution. Is there a way to do this in the layout or chart xml files?
Baydalka Volodymyr
#2 Posted : Tuesday, November 02, 2010 5:46:58 PM
Rank: Developers Team


Groups: Registered, Administrators

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

You need to use Paint.setTextSize method to set text size. To get Paint objects try to use :
- ChartAxis.getLabelPaint() - axis labels paint object
- ChartAxis.getTitlePaint() - axis title paint object
- ChartSeries.setMarkerPaint() - series labels paint object (need to create new object)
- ChartPoint.setMarkerPaint() - single point label paint object (need to create new object)

Best regards,
Volodymyr Baydalka
Andriod development and support team
thedigitalsean
#3 Posted : Wednesday, November 03, 2010 9:50:47 PM
Rank: Newbie

Groups: Registered

Joined: 11/2/2010
Posts: 5
That worked great, thanks!
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.