Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8477921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:36:02+00:00 2026-06-10T18:36:02+00:00

I have an issue which like to overcome. I’m using the achartengine to draw

  • 0

I have an issue which like to overcome. I’m using the achartengine to draw a bar chart on android application. At the first time, i can set the orientation for the chart by using “rederer.setOrientation(Orientation.VERTICAL)” and it works fine. But what i’d like it when we rotate the device, the chart will change it’s orientation, so the bar in chart will change respectively like this:

  1. When the device is in state “landscape” the chart will change to “horizontal”
  2. When the device is in state “portrait” the chart will change to “vertical”

Could anyone tell me how to do that? Thanks for any comments.

Thanks

Clark

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:36:04+00:00Added an answer on June 10, 2026 at 6:36 pm

    You should override your onConfigurationChange(newConfig) method in your Activity and when detecting a change, just change the bar chart orientation in the way you mentioned. You may need to call repaint() on your chart view.

    Read this for more information on handling orientation changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

1.I have an android client application in which i am grabbing frames from the
I am having the following issue : I have a table which looks like
I have an issue which I could not find answer for across the web.
I have some urgent issue which I could not find answer for across the
I have yet another issue which the answer is eluding me. I wish to
i have a small issue which my text field insist to inhert the CSS
I have an issue with log4net which has been bugging me for a while
I have been working on a json decode issue (which I have already had
I'm pretty new in iphone programming and have stumbled upon this issue which I
I am fairly new to C++, but i have ran into an issue which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.