Switch to side-by-side view

--- a/OSSEval/analysis/templates/analysis/analysis_report.html
+++ b/OSSEval/analysis/templates/analysis/analysis_report.html
@@ -44,8 +44,8 @@
         <fieldset><legend><h3>Summary</h3></legend>
             <p>{% autoescape off %}{{ analysis.comment }}{% endautoescape %}</p>
             <table>
-              <tr><td width='60%'>{% autoescape off %}{{ analysis.methodology_version.radar_chart }}{% endautoescape %}</td>
-                  <td width='40%'>{% autoescape off %}{{ analysis.methodology_version.bar_chart }}{% endautoescape %}</td></tr>
+              <tr><td width='60%'>{% autoescape off %}{% methodology_version_radar_chart analysis.methodology_version.id weight_scenario.id %}{% endautoescape %}</td>
+                  <td width='40%'>{% autoescape off %}{% methodology_version_bar_chart analysis.methodology_version.id weight_scenario.id %}{% endautoescape %}</td></tr>
               <tr><td colspan='2'>
                 {% autoescape off %}{{ trend_script }}{% endautoescape %}
               </td></tr>
@@ -56,8 +56,8 @@
         <fieldset><legend><h3>{{ p.name }}</h3></legend>
             <fieldset><legend><h2>Graphs</h2></legend>
                 <table><tr>
-                  <td width='60%'>{% autoescape off %}{{ p.radar_chart }}{% endautoescape %}</td>
-                  <td width='40%'>{% autoescape off %}{{ p.bar_chart }}{% endautoescape %}</td>
+                  <td width='60%'>{% autoescape off %}{% page_radar_chart p.id weight_scenario.id %}{% endautoescape %}</td>
+                  <td width='40%'>{% autoescape off %}{% page_bar_chart p.id weight_scenario.id %}{% endautoescape %}</td>
                 </tr></table>
             </fieldset>
             {% for p1 in p.page_set.all %}