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

  • SEARCH
  • Home
  • 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 8471891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:55:11+00:00 2026-06-10T16:55:11+00:00

I have been using afreechart to draw a few charts in my app, but

  • 0

I have been using afreechart to draw a few charts in my app, but I bumped into something I have not been able to work out by myself, so I hope someone here can give me a pointer in the right direction. I use the DemoView, which is included in the samples, and I pass the chart to the View. This has worked perfectly when my view was made up of a LinearLayout only, and the chart was added to this layout. However, if my view is a ScrollView, and to this ScrollView I add the same LinearLayout (built programmatically in exactly the same way), the chart does not show up. However, the rest of the layout looks the same. Any idea? Is there anything I should be setting in my chart in order for it to show up in a scrollview?

Thanks

  • 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-10T16:55:13+00:00Added an answer on June 10, 2026 at 4:55 pm

    I seem to have sorted this issue with my charts in a ScrollView. It looks like I simply needed to set the layout parameters. In my case I used:

    chartView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,500));
    

    and now the chart shows up in the ScrollView.

    Now I just have to find out why the line is not showing up in the legend of a XYlinechart, but that is a different story.

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

Sidebar

Related Questions

I have been using Javascript but more in a procedural way not the object
I have been using play 1.2.5rc4 for development of one app and I have
I have been using an API to do some work. This is how I
I have been using echo $.sprintf(%01\$.2f,$numvar); for my USD formatting, but I only copied
have been using no DOCTYPE but rather simply starting with <html> as per HTML5
I have been using the same Ajax Combobox everywhere in my project but as
I have been using sonar on my local machine for a long time but
I have been using Tomcat for a while. But I have never get myself
I have been using Automapper in our projects and just recently ran into an
I have been using NSUserDefaults for passing floats all around my apps. But they

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.