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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:00:47+00:00 2026-06-14T20:00:47+00:00

I want the following layout (the chart count in the top right is dynamic

  • 0

I want the following layout (the chart count in the top right is dynamic):
my desired layout

I tried to take a border-layout for the main container. Chart1 is region: 'west' and the rest is in region: 'center'.

In the center, I got a vbox container, with 2 containers, one for the charts (top) and one is the grid (bottom)

The Problem is now, that these 2 containers want a fixed width, or else they get a zero width…

Also I want to have all the containers to be fluid, so I can resize everything without getting empty spaces.

I read about using flex: 1 if I want some containers in a vbox to to get a 100% width, but this didn’t work. It just made the 2 containers in the vbox use the same height.

Any ideas?

  • 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-14T20:00:48+00:00Added an answer on June 14, 2026 at 8:00 pm

    Have you tried table layout? It’s quite easy to create such layout with it. Example:

    Ext.onReady(function(){
    
      Ext.create('Ext.Viewport', {
        renderTo: Ext.getBody(),
        style: 'border: 1px solid red',
    
        layout: {
            type: 'table',
            columns: 5,
          tdAttrs: {
            style: 'padding: 20px; border: 1px solid blue;'
          }
        },
    
        defaults: {
          bodyStyle: 'border: 1px solid red'
        },
    
        items: [
          { xtype: 'panel', html: 'Chart1', rowspan: 2 },
          { xtype: 'panel', html: 'Chart2' },
          { xtype: 'panel', html: 'Chart3' },
          { xtype: 'panel', html: 'Chart4' },
          { xtype: 'panel', html: 'Chart5' },
          { xtype: 'panel', html: 'Grid', colspan: 4 }
        ]
    
      });
    
    });
    

    Working sample: http://jsbin.com/ojijax/1/


    To have dynamic layout IMO the best solution is to use hbox and vbox layouts.
    For example you can wrap charts from 2 to n into one container, let’s say chartPanel – this will have hbox layout. Then wrap chartPanel and grid into another container – panel with vbox layout. Then again wrap chart1 with panel with hbox layout. Then you must set align: stretch for each box layout, and proper flex to divide screen equaly.

    Working sample: http://jsfiddle.net/75T7h/

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

Sidebar

Related Questions

I want following layout in my app. A button at top, second botton at
I have the following layout: I want to position the div right to the
JSFIDDLE EXAMPLE BELOW I want to make the following CSS layout and currently im
I use the following code to layout network drives on a system. I want
I want to code a simple form layout in flex. Something like the following:
I want to achieve following layout: with following code: <div class=m> <div class=l></div> <div
Assume the following layout: <span class=container> <video class=video> <source ... /> </video> <div class=controls>
I want the following layout to appear on the screen: FieldName 1 [Field input
How do I go about creating the following layout in Android? I want a
I want to achieve following layout using javascript/jquery and css. I have a project

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.