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

Chart Legend issue in Real time y-t chart Options · View
Vinoth
#1 Posted : Tuesday, July 03, 2012 8:19:44 AM
Rank: Advanced Member

Groups: Registered

Joined: 4/25/2012
Posts: 68
Location: India
Hi,

When i am adding a legend to the chart with single item, the legend in the bottom is repeating with item's value. If i am adding more than one item, it is fine (i.e.,) item name is adding properly. Could you please tell me how can i solve this?

Regards,
Vinoth
Vinoth attached the following image(s):
Single.png (52kb) downloaded 23 time(s).
Multiple.png (30kb) downloaded 23 time(s).
Baydalka Volodymyr
#2 Posted : Wednesday, July 04, 2012 10:45:57 AM
Rank: Developers Team


Groups: Registered, Administrators

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

Please check API ChartLegend.setAdapter( new ChartLegendAdapter.SeriesItemsAdapter() ). Default value - ChartLegendAdapter.SmartItemsAdapter.

Best regards,
Volodymyr Baydalka
Andriod development and support team
Vinoth
#3 Posted : Wednesday, July 04, 2012 1:44:20 PM
Rank: Advanced Member

Groups: Registered

Joined: 4/25/2012
Posts: 68
Location: India
I am not able to fine setAdapter method for my ChartLegend class. Cold you please clarify this?
Vinoth
#4 Posted : Wednesday, July 04, 2012 1:55:22 PM
Rank: Advanced Member

Groups: Registered

Joined: 4/25/2012
Posts: 68
Location: India
Hi,
Thanks. I got the solution. We need to set ChartLegend.setItemsProvider(new LegendItemsProvider.SeriesItemsProvider())
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.