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

change the color of label Options · View
tecnocast2
#1 Posted : Thursday, December 01, 2011 2:59:09 PM
Rank: Newbie

Groups: Registered

Joined: 12/1/2011
Posts: 4
Location: Berlin
Hi,

I want to change the color of the grid, x axis, y axis and also the color of the labels from the chart. (Default Color is white, and I want to change it into black)

Please explain by example...=)
Baydalka Volodymyr
#2 Posted : Thursday, December 01, 2011 3:01:34 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please, check following methods:
ChartArea.getDefaultXAxis()
ChartArea.getDefaultYAxis()

ChartAxis.getLabelPaint().setColor()
ChartAxis.getLinePaint().setColor()
ChartAxis.getGridLinePaint().setColor()

Best regards,
Volodymyr Baydalka
Andriod development and support team
tecnocast2
#3 Posted : Thursday, December 01, 2011 4:27:41 PM
Rank: Newbie

Groups: Registered

Joined: 12/1/2011
Posts: 4
Location: Berlin
Thank you...=)
bvut I still have questions.

Can I make the style of this label into bold or italic?

and also how I change the color from "show label" on ai:series?=)
Baydalka Volodymyr
#4 Posted : Thursday, December 01, 2011 5:01:28 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please, check method
Paint.setTypeface
ChartSeries.getMarkerPaint().setColor

Best regards,
Volodymyr Baydalka
Andriod development and support team
tecnocast2
#5 Posted : Thursday, December 01, 2011 5:34:18 PM
Rank: Newbie

Groups: Registered

Joined: 12/1/2011
Posts: 4
Location: Berlin
Hi,

ChartSeries.getMarkerPaint().setColor doesn't exist.

There are only ChartSeries.getMarkerDrawable() and ChartSeries.getMarkerSize()

Baydalka Volodymyr
#6 Posted : Thursday, December 01, 2011 5:36:23 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Sorry for that. Check series.getTextPaint() method.

Best regards,
Volodymyr Baydalka
Andriod development and support team
phonesystems
#7 Posted : Saturday, December 03, 2011 8:40:31 AM
Rank: Newbie

Groups: Registered

Joined: 12/3/2011
Posts: 1
Location: Glenpool
This thing will definitely give a new look to your grid..Also, don't change the style, the bold or italic won't look good.
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.