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

Could line chart support a gradient fill area Options · View
duyanhth
#1 Posted : Tuesday, June 22, 2010 1:58:43 PM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
I wonder that the line chart has build-in fuction for this purpose.
I can do it in the Area chart but the gradient region is limit by 0-x.
Please see the picture for more detail.
The Iphone picture is what I expect and the Android pic is what I has implemented now.
Thanks alot.


Baydalka Volodymyr
#2 Posted : Tuesday, June 22, 2010 3:55:21 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Try to change the limit value
Code:
ChartArea.getDefaultYAxis().setOrigin(-50);


Best regards,
Volodymyr Baydalka
Andriod development and support team
duyanhth
#3 Posted : Wednesday, June 23, 2010 11:08:12 AM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
Thanks, it solved the issue for this case. Do other charts support this: The upper part and the lower part have difference colors?
Thanks and best regards,
Duy Anh



Baydalka Volodymyr
#4 Posted : Wednesday, June 23, 2010 6:51:55 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Please, check this sample. It demonstrates how to improve drawables.

Best regards,
File Attachment(s):
TwoColorSample.zip (16kb) downloaded 14 time(s).
Volodymyr Baydalka
Andriod development and support team
duyanhth
#5 Posted : Thursday, June 24, 2010 6:02:39 AM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
great, thx
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.