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
chris3121  
#1 Posted : Monday, March 22, 2010 1:40:41 AM(UTC)
chris3121
Rank: Newbie

Groups: Registered
Joined: 3/22/2010(UTC)
Posts: 3
Location: Ottawa

Hi i'm using the following code:
Code:
//Create new chart, use Bar graph (Column type)
		ChartView chartView = new ChartView( this );
		ChartArea area = chartView.addArea();
		ChartSeries series = new ChartSeries( "Vote Results", ChartTypes.Column );

		
		//Data values to be represented in the graph
		series.getPoints().setData( new double[]
			{ 26, 18, 42, 10 } );

		series.setShowLabel( true );
		chartView.getSeries().add( series );
		series.setArea( area.getName() );

		setContentView( chartView );


And I want to add a Label along the Y axis something like (Vote Results).
Also I would like to put a label below each column (yes/no) instead of having the numeric values on the x axis. is there a way i could possibly do this?

Edited by user Monday, March 22, 2010 2:49:04 AM(UTC)  | Reason: Not specified

Baydalka Volodymyr  
#2 Posted : Monday, March 22, 2010 10:31:33 PM(UTC)
Baydalka Volodymyr
Rank: Member

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

Hi,

Please check this sample http://www.artfulbits.com/Artic...aspx?sample=columnsample and download new version of aiCharts.

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