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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:24:35+00:00 2026-06-01T09:24:35+00:00

What functions are there to customise the graph, for example the width of the

  • 0

What functions are there to customise the graph, for example the width of the bars and the spaces between the bars.
I would like to reduce the gaps between the bars, and between the month labels.

What are there any functions that can perform these alterations?

  • 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-01T09:24:37+00:00Added an answer on June 1, 2026 at 9:24 am

    The solution is simply to adjust the width of the columns (and possibly the graph itself).

    You can use the function BarPlot::SetWidth($aWidth) to set the column width (see also this example). This function is described in the class documentation here:

    Specify width as fractions of the major step size when the scale used is a text scale (which is the normal scale to use for bars). If the X-axis scale is a linear scale (i.e. lin, int or date) then the width must be specified in absolute pixels.

    Therefore you can either set the width of the columns as a percentage or as an absolute pixel width.

    • To set the width as a percentage, use a value <= 1.
      e.g. 25% $barplot->SetWidth(0.25);

    • To set the width in pixels, use a value > 1.
      e.g. 56 pixels $barplot->SetWidth(56);

    Have a fiddle around until you get something you’re happy with.

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

Sidebar

Related Questions

I know there are functions to like is_single() that will return data about the
Is there something like serialize/unserialize PHP functions in jQuery? These functions return a string
I want to use min(5,10) , or Math.max(4,7) . Are there functions to this
Are there WinAPI functions that do the same what can do standard Windows utility
I am new to iOS programming. I see that there are functions defined in
Is there a firefox plugin which functions as an SVN client? I have checked
There are some JS functions that are IE specific. I am working on an
Is there a class or set of functions built into the .NET Framework (3.5+)
Is there a convention for naming private functions in bash? I have a bash
I am trying to customise a Wordpress theme. I have a function in themes/functions.php

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.