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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:16:55+00:00 2026-05-27T06:16:55+00:00

I am using jqplot for a bar graph that has 1 very high number

  • 0

I am using jqplot for a bar graph that has 1 very high number around 7 million and 2 very low numbers, less than 100,000 when they are charted on a bar graph the two low numbers are only a couple of pixels tall, you can barely see them.

I am wondering if it is possible to use disproportionate intervals on the x axis for example the lower half of the chart would be say 0 – 100,000 and then the upper half would go from 100,000 – 7,000,000

I can’t find it in the options anywhere, I’ve set custom ‘ticks’ but all that does is squeeze all the low numbers into a tiny space at the bottom.

Google is no help.

Here is what I have so far

function init_graph() {
    var line1 = [19877, 6643895, $('#inpSalary').val()];

    var tickers = ['low number', 'huge number', 'low number'];

            plot1 = $.jqplot('jqplot', [line1], {
                stackSeries: true,
                legend: {
                    show: true,
                    location: 'ne'
                },
                title: 'Data per month stack by user',
                seriesColors:['#fcbaac','#f5564d','#1e3045'],
                seriesDefaults: {
                    renderer: $.jqplot.BarRenderer,
                    rendererOptions: {
                        varyBarColor: true,
                        // barPadding: 6,
                        // barMargin: 15,
                        barWidth: 60,
                        highlightMouseOver: true
                    }
            // shadowAngle: 135
                },
                series: [{
                    label: 'User1'
                }],
                axes: {
                    xaxis: {
                        renderer: $.jqplot.CategoryAxisRenderer,
                        ticks: tickers         
                    },
                    yaxis: {
                        ticks: [0,20000,30000,40000,50000,60000,70000,80000,90000,100000,7000000],
                        min: 0
                    }
                }   
            });
}
  • 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-05-27T06:16:56+00:00Added an answer on May 27, 2026 at 6:16 am

    You could switch to using the LogAxisRenderer, which by default with give you a log base 10 scale on the y-axis:

    <snip>
    axes: {
      xaxis: {
        renderer: $.jqplot.CategoryAxisRenderer,
          ticks: tickers         
        },
       yaxis: {
          renderer: $.jqplot.LogAxisRenderer,
          min: 100
       }
    } 
    <snip>
    

    enter image description here

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

Sidebar

Related Questions

Using C#, I need a class called User that has a username, password, active
I'm using jqplot to draw a simple bar chart however only half of the
I hope this doesn't seem too opaque: I'm using jqPlot to make a bar
I'm using jqplot for displaying bar chart and pie chart. I want to display
I am using jqPlot to draw an area graph with series defaults fill: true,
I am using JQPlot to graph usage over time of an application. Currently I
Hi I'm using jqPlot to plot a graph over time. I'm also using the
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I'm (trying to) using JSON with PHP. I want to plot a graph using

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.