title: Resizing google visualization with ChartEditor
body: <p>is it possible to set the width and height of a chart when using the google visualization ChartEditor?</p>
  
  <p>I require the chart to be 100% the width of the page and then set the height in pixels, currently when I set the width and height in the options they are being ignored. </p>
  
  <p>the code that I have worked on so far is below:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
          google.load("visualization", "1", { packages: ["corechart", "controls", "charteditor"] });
  
          google.setOnLoadCallback(loadEditor);
          var chartEditor = null;
  
          window.onresize = function() {
              loadEditor();
          };
  
          function loadEditor() {
  
              var data = google.visualization.arrayToDataTable([@Html.Raw(@ViewBag.ChartData)]);
  
              var dashboard = new google.visualization.Dashboard(document.getElementById('dashboard_div'));
  
              var rangeSlider = new google.visualization.ControlWrapper({
                  'controlType': 'CategoryFilter',
                  'containerId': 'filter_div',
                  'options': {
                      'filterColumnLabel': 'VAR1',
                      'ui': {
                          'label': 'Years'
                      }
                  }
              });
              var wrapper = new google.visualization.ChartWrapper({
                  chartType: 'ColumnChart',
                  containerId: 'chart_div',
                  dataTable: data
              });
              chartEditor = new google.visualization.ChartEditor();
              google.visualization.events.addListener(chartEditor, 'ok', redrawChart);
              chartEditor.openDialog(wrapper, {});
              dashboard.bind(rangeSlider, wrapper);
              dashboard.draw(data);
          }
  
          function redrawChart() {
              chartEditor.getChartWrapper().draw(document.getElementById('chart_div'));
  
          }
      &lt;/script&gt;
  </code></pre>
  
  <p>the chart also incorporates a CategoryFilter linked with a dashboard is required to work with the chart displayed.</p>
  
  <p>Currently when the chart is rendered it is fairly small. </p>