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! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Ivan  
#1 Posted : Tuesday, March 8, 2011 6:33:43 PM(UTC)
Ivan
Rank: Member

Groups: Registered
Joined: 3/7/2011(UTC)
Posts: 25
Location: Albis

Hi Support,

I know this must be a very stupid question but:

How do I add a title to the chart programmatically (not using XML). I cannot find the way to do it.

Also how to activate the legends and choose where to place them on the chart?

Thanks
Ivan

Baydalka Volodymyr  
#2 Posted : Tuesday, March 8, 2011 6:39:48 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

1) Please, check the ChartTitle class and ChartView.getTitles() collection.
2) Try add at least one instance of ChartLegend class to ChartView.getLegends() collection. Also check ChartLegend.setDock method to set legend position.

Best regards,
Volodymyr Baydalka
Andriod development and support team
Ivan  
#3 Posted : Tuesday, March 8, 2011 6:54:26 PM(UTC)
Ivan
Rank: Member

Groups: Registered
Joined: 3/7/2011(UTC)
Posts: 25
Location: Albis

Hi,

Thanks... I got the ChartLegends to work... but there is something I need... I would like the legend to show only a NAME for the Series and not a DOT for every column I have at this moment the legend is showing me

6 dots one for each column I have with the label(value) of this column... how can I do to get only 1 dot for the series I have created the legend with a chosen name...?

Thanks for the instant support
Ivan
Ivan  
#4 Posted : Tuesday, March 8, 2011 8:03:02 PM(UTC)
Ivan
Rank: Member

Groups: Registered
Joined: 3/7/2011(UTC)
Posts: 25
Location: Albis

hi Again,

I have found how to show only the name using the SeriesItemProvider()

now I have another issue:

How to make the legend show horizontally instead of one below the other...

As you can see in the screenshot ... the NT and HT are like in a list ... but I want them to be like on the same line.... how can I do that?

Another thing is: why is NT showing in ORANGE when it should be showing in GREEN? or at least that is what it should be showing...

Thanks
Ivan

Edited by user Tuesday, March 8, 2011 8:04:26 PM(UTC)  | Reason: Not specified

Ivan attached the following image(s):
aichartsLegend00.png (22kb) downloaded 31 time(s).

You cannot view/download attachments. Try to login or register.
Baydalka Volodymyr  
#5 Posted : Wednesday, March 9, 2011 6:38:09 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

Check following thread - http://www.artfulbits.co...m.aspx?g=posts&t=290

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-2017 ArtfulBits. All rights reserved.