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

Zooming Chart Color pair Options · View
duyanhth
#1 Posted : Friday, October 15, 2010 12:54:41 PM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
Hi,


I have followed the guide to make a color pair chart area at this link
http://www.artfulbits.com/Support/forum.aspx?g=posts&t=118

However when I zoom the chart, the gradient zone is not automatically recalculate. How could I do that?
Please see two pictures bellow for the issue



Is it possible to create the the chart line with two color to make the chart more clear (like below picture)


Thanks and best regard
Tran Hoang Duy Anh
duyanhth
#2 Posted : Friday, October 15, 2010 1:51:32 PM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
I attached the code for quick test.
File Attachment(s):
TwoColorSample.zip (238kb) downloaded 4 time(s).
alexk
#3 Posted : Friday, October 15, 2010 5:22:16 PM
Rank: Administration


Groups: Registered

Joined: 7/28/2009
Posts: 55
Location: Ukraine, Lviv
WARNING! Please do not include into samples your license file, also please do not include binaries. FYI bin folder contain your license file too. WARNING!

I cleanup archive from attachment.
ArtfulBits Team
Product Director
Baydalka Volodymyr
#4 Posted : Friday, October 15, 2010 5:59:49 PM
Rank: Developers Team


Groups: Registered, Administrators

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

TwoColorDrawable doesn't update itself until its bounds changed. I have updated your sample to add recalculating for each draw method call.

Best regards,
File Attachment(s):
TwoColorSampleUpdated.zip (17kb) downloaded 8 time(s).
Volodymyr Baydalka
Andriod development and support team
duyanhth
#5 Posted : Friday, October 15, 2010 7:00:50 PM
Rank: Member

Groups: Registered

Joined: 6/10/2010
Posts: 14
Location: VietNam
Thanks for the clean up and your help, it works :).
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.