title: Google Chart not displaying with the correct height and width
body: <p>I'm having this problem with my google graph displaying in the default size (width: 400px and Height: 200px) while I want it to be a different size. I'm wondering if this has something to do with it being In a partial view or something, but it does sometimes display correct if I change the size in the code and refresh. If you could help me out thanks in advance.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@model ProjectServerside.PresentationModels.PMData
  
  &lt;script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      google.charts.load('current', { packages: ['corechart', 'bar'] });
      google.charts.setOnLoadCallback(drawChart);
  
        function drawChart() {
            var data = google.visualization.arrayToDataTable([
              ['Element', 'Count', { role: 'annotation' }],
              ['Threads',@Html.DisplayFor(model =&gt; model.ThreadCount), 'Threads'],
              ['Votes', @Html.DisplayFor(model =&gt; model.VoteCount), 'Votes'],
              ['Comments',@Html.DisplayFor(model =&gt; model.CommentCount), 'Comments'],
            ]);
  
            var options = {
                chart: {
                    title: 'Interest Performance',
                    subtitle: 'Threads, Votes, and Comments',
                    width: 900,
                    height: 500
                }              
            };
  
            var chart = new google.charts.Bar(document.getElementById('graph'));
  
            chart.draw(data, options);
        }
  &lt;/script&gt;
  &lt;div id="graph" style="width: 900px; height: 500px"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p> is not missing since it's on the layout html file thus is included in the header. Again if you could help me with this thank you in advance.</p>
  
  <p><a href="http://i.stack.imgur.com/qsyDC.png" rel="nofollow">This is how it displays on the page now</a></p>