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

Labels on a Column Bar Graph? Options · View
chris3121
#1 Posted : Sunday, March 21, 2010 11:40:41 PM
Rank: Newbie

Groups: Registered

Joined: 3/21/2010
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?
Baydalka Volodymyr
#2 Posted : Monday, March 22, 2010 8:31:33 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
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-2016 ArtfulBits. All rights reserved.