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 7982239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:37:18+00:00 2026-06-04T10:37:18+00:00

I was wondering how I can change the grid spacing with AndroidPlot . My

  • 0

I was wondering how I can change the grid spacing with AndroidPlot. My grid currently has 9 lines for domain and 9 for range and I have no clue where this comes from.

Also if you happen to know how to make the graph-line a bit thicker that would be highly appreciated.

It is the last two points that should get fixed and I have been searching for a while now.

I have pretty much found out how to “make everything else look pretty”.

Thank you very much for your help and time.

  • 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-04T10:37:20+00:00Added an answer on June 4, 2026 at 10:37 am

    How to change the GRID (two possible ways):

    plot.setRangeStep(XYStepMode.INCREMENT_BY_VAL, 125);
    plot.setDomainStep(XYStepMode.SUBDIVIDE, 16);
    

    How to change the thickness of the graph line:
    You need to change the LineAndPointFormatter you are using in exactly this way (initializing the Paint with the current Paint of the lineAndPointFormatter is essential, otherwise you get really strange behaviour):

    LineAndPointFormatter lineAndPointFormatter = new LineAndPointFormatter(
            Color.rgb(0, 0, 0), null, null);
    
    //change the line width
    Paint paint = lineAndPointFormatter.getLinePaint();
    paint.setStrokeWidth(3);
    lineAndPointFormatter.setLinePaint(paint);
    
    // create a series using a temporary formatter, with a transparent fill
    // applied immediately
    xyPlot.addSeries(currentConsumptionSeries, lineAndPointFormatter);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am wondering how i can change this jQuery Ajax script so it doesn't
I was wondering how does Nike website make the change you can see when
I'm new to JQuery and was wondering how can I have Changes saved! displayed
I was wondering, I now have an app that makes a grid of 16x16
hallo all i was wondering how i can change the indentation settings of vs2010
I was wondering if can change the edmx.cs file (change inheritance and base constructors
I'm wondering if I can change the user agent profile on the fly, without
I'm wondering if I can change the background color of just the prompt of
I was wondering how can I change the pages of a PDF file via
I was wondering how I can change the theme of an activity depending on

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.