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

How to selectively hide and show legends? Options · View
sleytus
#1 Posted : Monday, October 15, 2012 7:40:42 AM
Rank: Newbie

Groups: Registered

Joined: 10/9/2012
Posts: 5
Hello,

How does one selectively hide and show legends? And if a legend is initially hidden, then how to show it again?

Thanks
Baydalka Volodymyr
#2 Posted : Monday, October 15, 2012 12:13:26 PM
Rank: Developers Team


Groups: Registered, Administrators

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

To hide/show legend you need to remove/add it to aiCharts.getLegens() collection.
To hide series from legend - set series.setLegend("--hidden--") with some non-existent name.

Best regards,
Volodymyr Baydalka
Andriod development and support team
sleytus
#3 Posted : Monday, October 15, 2012 8:06:58 PM
Rank: Newbie

Groups: Registered

Joined: 10/9/2012
Posts: 5
Baydalka Volodymyr wrote:
Hi,

To hide/show legend you need to remove/add it to aiCharts.getLegens() collection.
To hide series from legend - set series.setLegend("--hidden--") with some non-existent name.

Best regards,



And then, after being hidden, how does one show it again?

Thanks
Baydalka Volodymyr
#4 Posted : Tuesday, October 16, 2012 12:06:28 PM
Rank: Developers Team


Groups: Registered, Administrators

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

To show series in legend - set legend name series.setLegend( legend.getName() ) -or- series.setLegend( null ) - for fist legend.

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