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! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
duyanhth  
#1 Posted : Tuesday, June 22, 2010 3:58:43 PM(UTC)
duyanhth
Rank: Member

Groups: Registered
Joined: 6/10/2010(UTC)
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.
UserPostedImage

Edited by moderator Thursday, June 24, 2010 7:56:49 PM(UTC)  | Reason: image size changed

Baydalka Volodymyr  
#2 Posted : Tuesday, June 22, 2010 5:55:21 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

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 1:08:12 PM(UTC)
duyanhth
Rank: Member

Groups: Registered
Joined: 6/10/2010(UTC)
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

UserPostedImage

Edited by user Wednesday, June 23, 2010 4:01:51 PM(UTC)  | Reason: Not specified

Baydalka Volodymyr  
#4 Posted : Wednesday, June 23, 2010 8:51:55 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

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

Best regards,
File Attachment(s):
TwoColorSample.zip (16kb) downloaded 14 time(s).

You cannot view/download attachments. Try to login or register.
Volodymyr Baydalka
Andriod development and support team
duyanhth  
#5 Posted : Thursday, June 24, 2010 8:02:39 AM(UTC)
duyanhth
Rank: Member

Groups: Registered
Joined: 6/10/2010(UTC)
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-2017 ArtfulBits. All rights reserved.