Then, we will specify the layout of our app. It will have the following elements:

To organize the declared elements on the page, we will use the dhtmlxLayout component.
'index.html' file
<!DOCTYPE html>
<html>
  <head>
     <title>Dynamic Chart</title>
     <script src="codebase/dhtmlx.js" type="text/javascript"></script>
     <link rel="stylesheet" type="text/css" href="codebase/dhtmlx.css">
  </head>
  <body>
    <script type="text/javascript">        dhtmlxEvent(window,"load",function(){             var layout = new dhtmlXLayoutObject(document.body,"3L");         });
    </script>
  </body>
</html>
'index.html' file
<style>
    html, body {
        width: 100%;      /*provides the correct work of a full-screen layout*/ 
        height: 100%;     /*provides the correct work of a full-screen layout*/
        overflow: hidden; /*hides the default body's space*/
        margin: 0px;      /*hides the body's scrolls*/
    }
</style>
'index.html' file
dhtmlxEvent(window,"load",function(){
    var layout = new dhtmlXLayoutObject(document.body, "3L");
    layout.cells("a").setWidth(270);        //sets the width of the 'form' cell      layout.cells("a").setText("Profit & Loss reports");//sets the form's header      layout.cells("b").hideHeader();      //hides the header of the 'chart' cell      layout.cells("c").hideHeader();       //hides the header of the 'grid' cell  });
