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

zoom the area of pie chart Options · View
vijayakumar
#1 Posted : Monday, July 12, 2010 3:19:33 PM
Rank: Advanced Member

Groups: Registered

Joined: 4/27/2010
Posts: 31
Location: chennai
Hi friends,

I saw the example of aichart hittest sample.If i drag the area it will zoom .If i drag area again it will come to original posistion can i do this functionality in click event? can you give example?



Thanks
Baydalka Volodymyr
#2 Posted : Monday, July 12, 2010 4:39:17 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Just use the same example, that's easy :
- remove ACTION_MOVE action handling;
- on ACTION_DOWN action change
Code:
m_startOffset = m_point.getAttribute(ChartPieType.EXPAND_RADIUS);

to following:
Code:
if(m_point.getAttribute(ChartPieType.EXPAND_RADIUS) == 0)
{
    m_point.setAttribute(ChartPieType.EXPAND_RADIUS, 30);
}
else
{
    m_point.setAttribute(ChartPieType.EXPAND_RADIUS, 0);
}


Best regards,
Volodymyr Baydalka
Andriod development and support team
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.