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

PieChart labels and legends Options · View
leazo
#1 Posted : Friday, September 14, 2012 4:20:11 PM
Rank: Newbie

Groups: Registered

Joined: 9/13/2012
Posts: 2
Hi, We are testing this product and have a couple of questions:

We want to generate a pie chart showing the points values on each slice and the color label references in the legend

For the values we are using

series.setShowLabel(Boolean.TRUE);

But the legend shows the point values too, we want to see the points labels with its reference colors

Do you have an example how to do that?


And the other question is how to format the labels. We use:
series.setLabelFormat("%PERCENT0% %%");
But We dont want to see the decimal part


Thanks in advance!
Leazo
Baydalka Volodymyr
#2 Posted : Monday, September 17, 2012 4:29:31 PM
Rank: Developers Team


Groups: Registered, Administrators

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

1) Download latest package
2) Use next code to specify legend labels
ChartLegendItemsBinder itemBinder = new ChartLegendItemsBinder("{LABEL}");
chartLegend.setAdapter(new PointItemsAdapter(itemBinder));
3) Try to use next format - series.setLabelFormat("{YVALUE,#.##}");

Best regards,
Volodymyr Baydalka
Andriod development and support team
Baydalka Volodymyr
#3 Posted : Monday, September 17, 2012 4:38:54 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Sorry for misunderstand, it works for android version. Unfortunately, blackberry version don't have this feature yet.

Best regards,
Volodymyr Baydalka
Andriod development and support team
leazo
#4 Posted : Monday, September 17, 2012 4:54:20 PM
Rank: Newbie

Groups: Registered

Joined: 9/13/2012
Posts: 2
Please, Someone could help me? We need to finish this to deciding buying the product. Thanks
Baydalka Volodymyr
#5 Posted : Thursday, September 20, 2012 1:15:16 PM
Rank: Developers Team


Groups: Registered, Administrators

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

If you have subscription, you can make request support@artfulbits.com to this functionality and we will try to implement it ASAP.

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.