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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:15:13+00:00 2026-06-06T15:15:13+00:00

By default flot sizes the graph and axis labels to fix inside the div

  • 0

By default flot sizes the graph and axis labels to fix inside the div container. If you have a series of graphs on a page, with different variables in each graph, the sizes of the axis labels is different and the graph canvases are therefore different sizes and don’t align neatly.

Is there a way to set the size and position of the flot canvas so that the graphs are a fixed size and position within the containers

  • 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-06T15:15:16+00:00Added an answer on June 6, 2026 at 3:15 pm

    Not exactly, no. What you can do is specify how wide/high the axis labels should be, which will force the canvases to line up between different graphs.

    From the API.txt:

    “labelWidth” and “labelHeight” specifies a fixed size of the tick
    labels in pixels. They’re useful in case you need to align several
    plots. “reserveSpace” means that even if an axis isn’t shown, Flot
    should reserve space for it – it is useful in combination with
    labelWidth and labelHeight for aligning multi-axis charts.

    Beyond that, if you wanted the actual axes to be the same between graphs, you would need to establish what the global min/max is for each axis between all your data sets, and then specify that for each axis in each graph.

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

Sidebar

Related Questions

I have a very basic web page that uses flot to create a canvas
I am working on a flot graph where i have a few data points
Default JVM uses maximum 1.5 GB RAM/JVM Java application. But my Server have 8
The default strongly-typed Edit page in ASP.NET MVC 3 generally exposes all fields for
Default, Windows controls don't have DoubleBuffer. When I use it, I can reduce flicker.
The default user registration page in Drupal 7 has fields to enter a username,
By default JUnit jars have the version number in the file name, eg junit-4.8.2.jar
Scenario : Default.aspx is as below. <%@ Page MasterPageFile=~/StandardLayout.master Language=C# CodeFile=Default.aspx.cs Inherits=_Default %> <%@
The default markdown syntax for code blocks is indented by 4 spaces on each
By default, the ordered list looks like this: There are some spacing on the

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.